aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorLukasz Marek <lukasz.m.luki@gmail.com>2014-04-04 19:28:45 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-06-23 18:16:20 +0200
commit8f7ebb88b8168de4e95e2c77cc57486d1d879804 (patch)
tree966a04db64ae75850280bf135303a3402497181e /libavcodec
parente897eb108b514b4eb80490a7c17daf1b2d1ef51e (diff)
downloadffmpeg-8f7ebb88b8168de4e95e2c77cc57486d1d879804.tar.gz
lavu/opt: validate range before dereference
This change make error handling simplier. av_opt_freep_ranges may be called when some ranges are NULL, for example after memory allocation fail. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 3aac5fcfa9d3748659d78ab2a66d0ccce22cfd4f) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
0 files changed, 0 insertions, 0 deletions