[FFmpeg-cvslog] r13126 - trunk/libavcodec/h264.c

astrange subversion
Sun May 11 21:18:39 CEST 2008


Author: astrange
Date: Sun May 11 21:18:39 2008
New Revision: 13126

Log:
Use h->mb_xy directly in decode_cabac_residual().


Modified:
   trunk/libavcodec/h264.c

Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c	(original)
+++ trunk/libavcodec/h264.c	Sun May 11 21:18:39 2008
@@ -5494,11 +5494,11 @@ static void decode_cabac_residual( H264C
     assert(coeff_count > 0);
 
     if( cat == 0 )
-        h->cbp_table[mb_xy] |= 0x100;
+        h->cbp_table[h->mb_xy] |= 0x100;
     else if( cat == 1 || cat == 2 )
         h->non_zero_count_cache[scan8[n]] = coeff_count;
     else if( cat == 3 )
-        h->cbp_table[mb_xy] |= 0x40 << n;
+        h->cbp_table[h->mb_xy] |= 0x40 << n;
     else if( cat == 4 )
         h->non_zero_count_cache[scan8[16+n]] = coeff_count;
     else {




More information about the ffmpeg-cvslog mailing list