[Ffmpeg-cvslog] r8737 - trunk/libavcodec/mjpeg.c

Michael Niedermayer michaelni
Sun Apr 15 10:53:31 CEST 2007


Hi

On Sun, Apr 15, 2007 at 03:26:58AM +0200, Baptiste Coudurier wrote:
> Hi
> 
> michael wrote:
> > Author: michael
> > Date: Sun Apr 15 00:58:23 2007
> > New Revision: 8737
> > 
> > Modified:
> >    trunk/libavcodec/mjpeg.c
> > 
> > Log:
> > fix playback of angels_480-mjpegcompress.avi
> > 
> > 
> > Modified: trunk/libavcodec/mjpeg.c
> > ==============================================================================
> > --- trunk/libavcodec/mjpeg.c	(original)
> > +++ trunk/libavcodec/mjpeg.c	Sun Apr 15 00:58:23 2007
> > @@ -1791,7 +1791,7 @@ static int mjpeg_decode_app(MJpegDecodeC
> >              s->buggy_avid = 1;
> >  //        if (s->first_picture)
> >  //            printf("mjpeg: workarounding buggy AVID\n");
> > -        s->interlace_polarity = get_bits(&s->gb, 8);
> > +        s->bottom_field = get_bits(&s->gb, 8) == 2;
> >  #if 0
> >          skip_bits(&s->gb, 8);
> >          skip_bits(&s->gb, 32);
> 
> This breaks playback of
> 
> http://samples.mplayerhq.hu/V-codecs/MJPEGs/AVID-AVRn/mjpeg.mov

fixed

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

Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20070415/d139a88f/attachment.pgp>



More information about the ffmpeg-cvslog mailing list