10l typo
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 17 Mar 2005 21:35:50 +0000 (21:35 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 17 Mar 2005 21:35:50 +0000 (21:35 +0000)
Originally committed as revision 4053 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/parser.c

index 3315895..4725d56 100644 (file)
@@ -330,7 +330,7 @@ static void mpegvideo_extract_headers(AVCodecParserContext *s,
                         frame_rate_ext_n = (buf[5] >> 5) & 3;
                         frame_rate_ext_d = (buf[5] & 0x1f);
                         pc->progressive_sequence = buf[1] & (1 << 3);
-                        avctx->has_b_frames= buf[5] >> 7;
+                        avctx->has_b_frames= !(buf[5] >> 7);
 
                         pc->width  |=(horiz_size_ext << 12);
                         pc->height |=( vert_size_ext << 12);