1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

fix playback of angels_480-mjpegcompress.avi

Originally committed as revision 8737 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2007-04-14 22:58:23 +00:00
parent 6b5e72c994
commit fe2ad119e9

View File

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