diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-11-28 10:54:35 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-01-18 20:53:06 +0100 |
commit | 9ecabd7892ff073ae60ded3fc0a1290f5914ed5c (patch) | |
tree | bc58d8a1beb55b3f3d0a93ba46a9964195c6cc71 /libavcodec/vorbisenc.c | |
parent | 0652e024c680420d298cdf3719d0a0c030173fe3 (diff) | |
download | ffmpeg-9ecabd7892ff073ae60ded3fc0a1290f5914ed5c.tar.gz |
h264: reset num_reorder_frames if it is invalid
An invalid VUI is not considered a fatal error, so the SPS containing it
may still be used. Leaving an invalid value of num_reorder_frames there
can result in writing over the bounds of H264Context.delayed_pic.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
Diffstat (limited to 'libavcodec/vorbisenc.c')
0 files changed, 0 insertions, 0 deletions