[FFmpeg-devel] [PATCH] Fix decoding large Cinepak files

Kostya kostya.shishkov
Tue Jan 13 08:41:59 CET 2009


On Mon, Jan 12, 2009 at 08:12:54PM -0800, Mike Melanson wrote:
> Kostya wrote:
> > As it turned out, Cinepak format use 24-bit sizes instead of
> > 16 bits as it was thought before. Naturally, the problem
> > manifested itself only for slices >= 64k.
> > 
> > With this patch it's possible to correctly decode ross.mov
> > for issue 744 and garbage is gone for
> > http://samples.mplayerhq.hu/V-codecs/CVID/tn.avi
> 
> Nice find. Looks good, but will it still handle data from Sega FILM/CPK 
> files?

IIRC that just involves skipping some garbage at the start of the frame,
internal structure is the same.
Tested on several .cpk samples, seems to work fine.
 
> Thanks,
> 
> -- 
>      -Mike Melanson




More information about the ffmpeg-devel mailing list