[libav-devel] [PATCH 2/2] h264: reset has_b_frames after enabling low_delay from SPS

2012-11-16 Thread Janne Grunau
Fixes a crash in fuzzed file nasa-8s2.ts_s20033 caused by a too large has_b_frames value. low_delay keeps getting re-enabled from the the presumely broken SPS. --- libavcodec/h264.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavcodec/h264.c b/libavcodec/h264.c index

Re: [libav-devel] [PATCH 2/2] h264: reset has_b_frames after enabling low_delay from SPS

2012-11-16 Thread Ronald S. Bultje
Hi, On Fri, Nov 16, 2012 at 8:43 AM, Janne Grunau janne-li...@jannau.netwrote: Fixes a crash in fuzzed file nasa-8s2.ts_s20033 caused by a too large has_b_frames value. low_delay keeps getting re-enabled from the the presumely broken SPS. --- libavcodec/h264.c | 4 +++- 1 file changed, 3