aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/nut.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-11-28 10:54:35 +0100
committerReinhard Tartler <siretart@tauware.de>2014-02-01 23:51:46 -0500
commit299c5dcfb0cd3debdf07943edfb46f4aeb02ca91 (patch)
tree60bcfb5971a2bf581aa0b1d6e84d8decef6b870b /libavformat/nut.c
parent62ed6da016b789eee00e0fff517df4a254e12e5d (diff)
downloadffmpeg-299c5dcfb0cd3debdf07943edfb46f4aeb02ca91.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 (cherry picked from commit 9ecabd7892ff073ae60ded3fc0a1290f5914ed5c) Signed-off-by: Reinhard Tartler <siretart@tauware.de> Conflicts: libavcodec/h264_ps.c
Diffstat (limited to 'libavformat/nut.c')
0 files changed, 0 insertions, 0 deletions