[FFmpeg-devel] [PATCH] JPEG interlaced error resilience

Baptiste Coudurier baptiste.coudurier
Sun Aug 2 10:48:16 CEST 2009


Hi Reimar,

On 08/02/2009 01:04 AM, Reimar D?ffinger wrote:
> Hello,
> currently when FFmpeg encounters a broken interlaced JPEG where only the
> second part is available, it decodes nothing at all.
> This patch changes the behaviour to make it still decode the second half
> (e.g. the odd lines).
> Currently the only real source of such broken JPEGs is the MJPEG parser which
> incorrectly splits all interlaced JPEGs into two packets.

Technically there are 2 independant jpegs.

I just fixed the AVSTREAM_PARSE_HEADERS issue.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org



More information about the ffmpeg-devel mailing list