[libav-devel] [PATCH 01/15] h264: set parameters from SPS whenever it changes

2012-12-12 Thread Janne Grunau
Fixes a crash in the fuzzed sample sample_varPAR.avi_s26638 with alternating bit depths. --- libavcodec/h264.c| 107 +-- libavcodec/h264.h| 2 + libavcodec/h264_ps.c | 3 ++ 3 files changed, 65 insertions(+), 47 deletions(-) diff --git

Re: [libav-devel] [PATCH 01/15] h264: set parameters from SPS whenever it changes

2012-12-12 Thread Ronald S. Bultje
Hi, On Wed, Dec 12, 2012 at 12:30 PM, Janne Grunau janne-li...@jannau.net wrote: Fixes a crash in the fuzzed sample sample_varPAR.avi_s26638 with alternating bit depths. --- libavcodec/h264.c| 107 +-- libavcodec/h264.h| 2 +

Re: [libav-devel] [PATCH 01/15] h264: set parameters from SPS whenever it changes

2012-12-12 Thread Diego Biurrun
On Wed, Dec 12, 2012 at 09:30:02PM +0100, Janne Grunau wrote: --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -2340,6 +2340,52 @@ int ff_h264_get_profile(SPS *sps) +if (s-avctx-has_b_frames 1 || h-delayed_pic[0]) +av_log(h-s.avctx, AV_LOG_WARNING, Delayed frames seen