changeset 2120:872ac88d4e60 libavcodec

1000000l
author michael
date Fri, 09 Jul 2004 22:29:08 +0000
parents f8948ed6553a
children 680868144447
files parser.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/parser.c	Fri Jul 09 21:55:10 2004 +0000
+++ b/parser.c	Fri Jul 09 22:29:08 2004 +0000
@@ -328,7 +328,7 @@
                     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);