]> granicus.if.org Git - libx264/commitdiff
Fix typo in subme8/9 lossless qpel-RD
authorFiona Glaser <fiona@x264.com>
Sat, 18 Oct 2008 10:40:59 +0000 (03:40 -0700)
committerFiona Glaser <fiona@x264.com>
Sat, 18 Oct 2008 10:40:59 +0000 (03:40 -0700)
Slightly improves compression.

encoder/macroblock.c

index 0562153dc8984cd985960a75b26b59aafbe7b942..c647961bcae6afa6a2f08d43ab028f3c7134f388 100644 (file)
@@ -866,7 +866,7 @@ void x264_macroblock_encode_p8x8( x264_t *h, int i8 )
         int i4;
         if( h->mb.b_transform_8x8 )
         {
-            h->zigzagf.sub_4x4( h->dct.luma4x4[i8], p_fenc, p_fdec );
+            h->zigzagf.sub_8x8( h->dct.luma8x8[i8], p_fenc, p_fdec );
             nnz8x8 = array_non_zero( h->dct.luma8x8[i8] );
         }
         else