From fe2ad119e91eab9dead56c737ccc899655ae5618 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 14 Apr 2007 22:58:23 +0000 Subject: [PATCH] fix playback of angels_480-mjpegcompress.avi Originally committed as revision 8737 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mjpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mjpeg.c b/libavcodec/mjpeg.c index 4d63fe58d2..fc79772f3f 100644 --- a/libavcodec/mjpeg.c +++ b/libavcodec/mjpeg.c @@ -1791,7 +1791,7 @@ static int mjpeg_decode_app(MJpegDecodeContext *s) 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);