mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
1000000l
Originally committed as revision 3301 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
8dab64b6c1
commit
5bb994e255
@ -328,7 +328,7 @@ static void mpegvideo_extract_headers(AVCodecParserContext *s,
|
|||||||
break;
|
break;
|
||||||
case 0x8: /* picture coding extension */
|
case 0x8: /* picture coding extension */
|
||||||
if (bytes_left >= 5) {
|
if (bytes_left >= 5) {
|
||||||
picture_structure = (buf[3]>>5)&3;
|
picture_structure = buf[2]&3;
|
||||||
top_field_first = buf[3] & (1 << 7);
|
top_field_first = buf[3] & (1 << 7);
|
||||||
repeat_first_field = buf[3] & (1 << 1);
|
repeat_first_field = buf[3] & (1 << 1);
|
||||||
progressive_frame = buf[4] & (1 << 7);
|
progressive_frame = buf[4] & (1 << 7);
|
||||||
|
Loading…
Reference in New Issue
Block a user