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

Baptiste Coudurier baptiste.coudurier
Sun Apr 15 03:26:58 CEST 2007


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

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312




More information about the ffmpeg-cvslog mailing list