diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-04-14 22:58:23 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-04-14 22:58:23 +0000 |
commit | fe2ad119e91eab9dead56c737ccc899655ae5618 (patch) | |
tree | 1c3ab35e5b7ec4c4e1a275889b10316c45191ea9 /libavcodec/mjpeg.c | |
parent | 6b5e72c994593d49365fa0485ebe8909db7f1587 (diff) | |
download | ffmpeg-fe2ad119e91eab9dead56c737ccc899655ae5618.tar.gz |
fix playback of angels_480-mjpegcompress.avi
Originally committed as revision 8737 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mjpeg.c')
-rw-r--r-- | libavcodec/mjpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |