[FFmpeg-cvslog] r21290 - trunk/libavcodec/h264_cavlc.c

michael subversion
Mon Jan 18 20:45:03 CET 2010


Author: michael
Date: Mon Jan 18 20:45:02 2010
New Revision: 21290

Log:
filter_mb_fast needs cbp_table to be set.

Modified:
   trunk/libavcodec/h264_cavlc.c

Modified: trunk/libavcodec/h264_cavlc.c
==============================================================================
--- trunk/libavcodec/h264_cavlc.c	Mon Jan 18 17:29:16 2010	(r21289)
+++ trunk/libavcodec/h264_cavlc.c	Mon Jan 18 20:45:02 2010	(r21290)
@@ -911,14 +911,14 @@ decode_intra_mb:
             else                     cbp= golomb_to_inter_cbp_gray[cbp];
         }
     }
-    h->cbp = cbp;
 
     if(dct8x8_allowed && (cbp&15) && !IS_INTRA(mb_type)){
         if(get_bits1(&s->gb)){
             mb_type |= MB_TYPE_8x8DCT;
-            h->cbp_table[mb_xy]= cbp;
         }
     }
+    h->cbp=
+    h->cbp_table[mb_xy]= cbp;
     s->current_picture.mb_type[mb_xy]= mb_type;
 
     if(cbp || IS_INTRA16x16(mb_type)){



More information about the ffmpeg-cvslog mailing list