[FFmpeg-devel] [PATCH] h264: fix mistake in r11216

Robert Swain robert.swain
Fri Dec 14 23:13:48 CET 2007

On Fri, 2007-12-14 at 22:57 +0100, Michael Niedermayer wrote:
> On Fri, Dec 14, 2007 at 03:02:41PM -0500, Jeff Downs wrote:
> > The patch I applied to fix part of issue 281 as r11216 was erroneous.
> > 
> > The attached fixes it by correctly checking for too many reference frames 
> > (as opposed to exactly equal to the max ref frame count).
> > 
> > Original also discarded pictures w/out unreferencing them. This adds that 
> > as well.
> looks ok (assuming you did test it)

Current svn doesn't work here. Lots of:

[h264 @ 0x895d150]number of reference frames exceeds max (probably
corrupt input), discarding one

The patch fixes this so consider it tested working too. :)


More information about the ffmpeg-devel mailing list