diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-07-09 22:29:08 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-07-09 22:29:08 +0000 |
commit | 5bb994e2559f165706a54cdabb4635e183630ea4 (patch) | |
tree | 0eab21399d9e7a1b8c92c9d40fdcbbab34cb01c3 | |
parent | 8dab64b6c18cf62b09ce7289388cac508d5bb921 (diff) | |
download | ffmpeg-5bb994e2559f165706a54cdabb4635e183630ea4.tar.gz |
1000000l
Originally committed as revision 3301 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/parser.c b/libavcodec/parser.c index 50888a8e18..7d84401e51 100644 --- a/libavcodec/parser.c +++ b/libavcodec/parser.c @@ -328,7 +328,7 @@ static void mpegvideo_extract_headers(AVCodecParserContext *s, break; case 0x8: /* picture coding extension */ if (bytes_left >= 5) { - picture_structure = (buf[3]>>5)&3; + picture_structure = buf[2]&3; top_field_first = buf[3] & (1 << 7); repeat_first_field = buf[3] & (1 << 1); progressive_frame = buf[4] & (1 << 7); |