From: Jason Garrett-Glaser Date: Fri, 28 Nov 2008 22:32:11 +0000 (-0800) Subject: 10L in r1041 X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=5df2a7162aecda66b3da8dde501971389b1bbd44;p=x264.git 10L in r1041 --- diff --git a/encoder/cabac.c b/encoder/cabac.c index 0768de71..2fd240df 100644 --- a/encoder/cabac.c +++ b/encoder/cabac.c @@ -1105,7 +1105,7 @@ static void x264_partition_size_cabac( x264_t *h, x264_cabac_t *cb, int i8, int static void x264_subpartition_size_cabac( x264_t *h, x264_cabac_t *cb, int i4, int i_pixel ) { int b_8x4 = i_pixel == PIXEL_8x4; - h->mb.cache.non_zero_count[x264_scan8[i4]] = array_non_zero( h->dct.luma4x4[i4+2-b_8x4] ); + h->mb.cache.non_zero_count[x264_scan8[i4]] = array_non_zero( h->dct.luma4x4[i4] ); block_residual_write_cabac( h, cb, DCT_LUMA_4x4, i4, h->dct.luma4x4[i4], 16 ); if( i_pixel == PIXEL_4x4 ) x264_cabac_mb_mvd( h, cb, 0, i4, 1, 1 );