[x264-devel] commit: 10L in r1041 (Jason Garrett-Glaser )

git version control git at videolan.org
Fri Nov 28 23:32:54 CET 2008


x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Fri Nov 28 14:32:11 2008 -0800| [5df2a7162aecda66b3da8dde501971389b1bbd44] | committer: Jason Garrett-Glaser 

10L in r1041

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=5df2a7162aecda66b3da8dde501971389b1bbd44
---

 encoder/cabac.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/encoder/cabac.c b/encoder/cabac.c
index 0768de7..2fd240d 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 );



More information about the x264-devel mailing list