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

Reimar Döffinger Reimar.Doeffinger
Tue Aug 4 08:32:05 CEST 2009

On Tue, Aug 04, 2009 at 12:41:33AM +0200, Michael Niedermayer wrote:
> On Sun, Aug 02, 2009 at 10:04:39AM +0200, 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).
> iam ok with that patch if its tested and people prefer its behavior ...

I don't have a strong opinion, the problem shouldn't appear really currently
I think, but it mostly gives a better error message in case something does go
wrong (e.g. "incorrectly" split interlaced JPEG).

More information about the ffmpeg-devel mailing list