diff options
author | Lukasz Marek <lukasz.m.luki@gmail.com> | 2014-04-04 19:28:45 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-04-22 00:21:28 +0200 |
commit | 88ec8021ce474b36256b48c741ca9df42316a955 (patch) | |
tree | 1caf2797b3a67b4d60b5d4ea67bf162376ac50b6 /libpostproc | |
parent | 8130449f32bbf2de1bed23a1a4ef825446e38eea (diff) | |
download | ffmpeg-88ec8021ce474b36256b48c741ca9df42316a955.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 'libpostproc')
0 files changed, 0 insertions, 0 deletions