]> git.sesse.net Git - x264/commitdiff
Fix dumb bug caused by stray semicolon
authorFiona Glaser <fiona@x264.com>
Fri, 11 Feb 2011 21:47:27 +0000 (13:47 -0800)
committerFiona Glaser <fiona@x264.com>
Fri, 18 Feb 2011 09:51:42 +0000 (01:51 -0800)
Caused noise reduction to run incorrectly in part of RD, but probably had no effect.

encoder/macroblock.c

index 1c56d26b0faa8d6a329cfd4f0791a459e16bf3f5..6bd39014d82b4419a9a7f4e785b0b2970b93b9fc 100644 (file)
@@ -1175,7 +1175,7 @@ void x264_macroblock_encode_p8x8( x264_t *h, int i8 )
             p_fenc = h->mb.pic.p_fenc[1+ch] + 4*x + 4*y*FENC_STRIDE;
             p_fdec = h->mb.pic.p_fdec[1+ch] + 4*x + 4*y*FDEC_STRIDE;
             h->dctf.sub4x4_dct( dct4x4, p_fenc, p_fdec );
-            if( h->mb.b_noise_reduction );
+            if( h->mb.b_noise_reduction )
                 h->quantf.denoise_dct( dct4x4, h->nr_residual_sum[2], h->nr_offset[2], 16 );
             dct4x4[0] = 0;