summaryrefslogtreecommitdiff
path: root/libavcodec/parser.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-03-17 21:35:50 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-03-17 21:35:50 +0000
commit8ca5d3bbf4b6384365e112e117bd56b4a349a287 (patch)
tree2c8b393c78d6d65a99a7b8e684169e55cacddb2b /libavcodec/parser.c
parenteb8393a8c790d67a553c8a3864de1f51a8877650 (diff)
10l typo
Originally committed as revision 4053 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/parser.c')
-rw-r--r--libavcodec/parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/parser.c b/libavcodec/parser.c
index 331589585f..4725d56c68 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);