[Ffmpeg-devel] VP6F decode bug

Michael Niedermayer michaelni
Sun Oct 22 22:29:45 CEST 2006


Hi

On Sun, Oct 22, 2006 at 08:55:33PM +0200, Aurelien Jacobs wrote:
> On Thu, 19 Oct 2006 12:16:31 +0700
> Roine Gustafsson <roine at users.sourceforge.net> wrote:
> 
> > I've found an flv file which exhibits a decode bug: the bottom and  
> > right edge macroblocks are smeared.
> > Plays correctly in a flash player.
> > File uploaded to mplayerhq as "good_one.flv".
> 
> Ok. The decoding was correct but the visible area was larger than
> it should be. The attached patch fix this bug.
> I just would like to know if such a usage of extradata is ok before
> commiting it.
> 
> Note that reading the additionnal byte in vp6.c instead of flv.c is
> not possible because swf.c also use the VP6F codec but don't have
> the additionnal byte.

why dont you set AVCodecContext.width / height in flvdec.c?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-devel mailing list