diff options
author | Lukasz Marek <lukasz.m.luki@gmail.com> | 2014-04-04 19:28:45 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-06-25 16:18:40 +0200 |
commit | c61c66cfb17e3552689020f0ef228b149ab42627 (patch) | |
tree | bbf0903604f2c067c6f3d7bcfe728abb4c232e64 /libavformat/oggdec.c | |
parent | 5ac53d07a276ae019d9975ab57fc033ca565b142 (diff) | |
download | ffmpeg-c61c66cfb17e3552689020f0ef228b149ab42627.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 'libavformat/oggdec.c')
0 files changed, 0 insertions, 0 deletions