aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2012-11-16 14:31:09 +0100
committerReinhard Tartler <siretart@tauware.de>2013-01-12 17:59:40 +0100
commit6cd92c3880956ee58fa59aca2d0656b10f506988 (patch)
treecaf420624cb00a61f3a947ba0bf5861aee2ddda5 /libavformat/utils.c
parent522e97bd9e91903249b5b7f9fb9f267bb55cb967 (diff)
downloadffmpeg-6cd92c3880956ee58fa59aca2d0656b10f506988.tar.gz
h264: enable low delay only if no delayed frames were seen
Dropping frames is undesirable but that is the only way by which the decoder could return to low delay mode. Instead emit a warning and continue with delayed frames. Fixes a crash in fuzzed sample nasa-8s2.ts_s20033 caused by a larger than expected has_b_frames value. Low delay keeps getting re-enabled from a presumely broken SPS. CC: libav-stable@libav.org (cherry picked from commit 706acb558a38eba633056773280155d66c2f4b24) Conflicts: libavcodec/h264.c
Diffstat (limited to 'libavformat/utils.c')
0 files changed, 0 insertions, 0 deletions