changeset 6784:2e43999e8ee6 libavcodec

Use h->mb_xy directly in decode_cabac_residual().
author astrange
date Sun, 11 May 2008 19:18:39 +0000
parents df0893f4fd86
children e8bb31e67146
files h264.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/h264.c	Sun May 11 19:16:21 2008 +0000
+++ b/h264.c	Sun May 11 19:18:39 2008 +0000
@@ -5494,11 +5494,11 @@
     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 {