changeset 2565:e7f2b8fadfb0 libavcodec

10l typo
author michael
date Thu, 17 Mar 2005 21:35:50 +0000
parents ad15cccd015f
children 99bcd49a3677
files parser.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/parser.c	Wed Mar 16 19:11:58 2005 +0000
+++ b/parser.c	Thu Mar 17 21:35:50 2005 +0000
@@ -330,7 +330,7 @@
                         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);