From 8ca5d3bbf4b6384365e112e117bd56b4a349a287 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 17 Mar 2005 21:35:50 +0000 Subject: [PATCH] 10l typo Originally committed as revision 4053 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/parser.c b/libavcodec/parser.c index 331589585f1..4725d56c686 100644 --- a/libavcodec/parser.c +++ b/libavcodec/parser.c @@ -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); -- 2.39.5