Mercurial > libavcodec.hg
changeset 4853:df386603730b libavcodec
fix playback of angels_480-mjpegcompress.avi
author | michael |
---|---|
date | Sat, 14 Apr 2007 22:58:23 +0000 |
parents | 8b92d313409d |
children | 9f1c90ce5d9d |
files | mjpeg.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mjpeg.c Sat Apr 14 22:22:34 2007 +0000 +++ b/mjpeg.c Sat Apr 14 22:58:23 2007 +0000 @@ -1791,7 +1791,7 @@ 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);