summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorAlexander Strange <astrange@ithinksw.com>2008-05-11 19:18:39 +0000
committerAlexander Strange <astrange@ithinksw.com>2008-05-11 19:18:39 +0000
commitd2b54ec80183cd4408092fa53f9cc7c704382c50 (patch)
treec19c1c22ff7112ac453df0d2204cbc9d28229c36 /libavcodec/h264.c
parent64514ee8def11d74362c03bcafc5927dc5577e8d (diff)
Use h->mb_xy directly in decode_cabac_residual().
Originally committed as revision 13126 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index ebfa62e6e5..f41e7fa8b8 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -5494,11 +5494,11 @@ static void decode_cabac_residual( H264Context *h, DCTELEM *block, int cat, int
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 {