# HG changeset patch # User michael # Date 1176591503 0 # Node ID df386603730bacb8260d79055497c6973bfb2cb2 # Parent 8b92d313409dd80281018d056a2d5a7bf767df64 fix playback of angels_480-mjpegcompress.avi diff -r 8b92d313409d -r df386603730b mjpeg.c --- 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);