]> git.sesse.net Git - ffmpeg/commitdiff
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 331589585f168a9fb5b9dc47268a058a3d12198c..4725d56c68664ce271cfcd89aef66086e15933f3 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);