Mercurial > libavcodec.hg
comparison mjpeg.c @ 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 |
comparison
equal
deleted
inserted
replaced
4852:8b92d313409d | 4853:df386603730b |
---|---|
1789 4bytes field_size_less_padding | 1789 4bytes field_size_less_padding |
1790 */ | 1790 */ |
1791 s->buggy_avid = 1; | 1791 s->buggy_avid = 1; |
1792 // if (s->first_picture) | 1792 // if (s->first_picture) |
1793 // printf("mjpeg: workarounding buggy AVID\n"); | 1793 // printf("mjpeg: workarounding buggy AVID\n"); |
1794 s->interlace_polarity = get_bits(&s->gb, 8); | 1794 s->bottom_field = get_bits(&s->gb, 8) == 2; |
1795 #if 0 | 1795 #if 0 |
1796 skip_bits(&s->gb, 8); | 1796 skip_bits(&s->gb, 8); |
1797 skip_bits(&s->gb, 32); | 1797 skip_bits(&s->gb, 32); |
1798 skip_bits(&s->gb, 32); | 1798 skip_bits(&s->gb, 32); |
1799 len -= 10; | 1799 len -= 10; |