Commit fe2ad119 authored by Michael Niedermayer's avatar Michael Niedermayer

fix playback of angels_480-mjpegcompress.avi

Originally committed as revision 8737 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 6b5e72c9
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment