[Ffmpeg-devel] Incorrect JPEG decoding with patch
Fri Nov 17 17:25:02 CET 2006
I've reported earlier that there was a bug with ffmpeg while decoding
I've dug into mjpeg.c file, and I've found that ffmpeg didn't support
multiple scans JPEG.
Well, not yet ;-)
I've modified the JPEG decoder so it can handle multiple scans JPEG too.
Currently, 95% of JPEG file have only one interleaved scan.
Bad luck, the JPEG stream I must decode are 3 single scans (Y, Cr, Cb).
Multiple scans are allowed in JFIF specification 1.02, but lacked until
now in current mjpeg.c implementation.
I've attached the patch, and I ask the devs for review.
For testing the new features, download and decode from
BTW, grep for "Cyril Russo" for all modifications I've added in final
I've tried to follow ffmpeg coding guidelines. I haven't subscribe to
the list, so for reply use cyril dot russo AT nexvision in france ;-)
NEXVISION [ www.nexvision.fr ]
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the ffmpeg-devel