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

Jeff Downs heydowns
Fri Dec 14 23:53:36 CET 2007


On Fri, 14 Dec 2007, 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)

Yes, I tested it :)  When I tested the original patch, I tried with the 
sample in the issue report (corrupt beyond belief) and a few of my 
samples, none of which apparently went to max num ref frames.

Anyway, applied and now working properly.




More information about the ffmpeg-devel mailing list