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

michael subversion
Sun Apr 15 00:58:24 CEST 2007


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);




More information about the ffmpeg-cvslog mailing list