From: Jason Garrett-Glaser Date: Fri, 11 Feb 2011 21:47:27 +0000 (-0800) Subject: Fix dumb bug caused by stray semicolon X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=4835f7c8d5e0c164c6f9a67917efe5dd63f5bdb9;p=x264.git Fix dumb bug caused by stray semicolon Caused noise reduction to run incorrectly in part of RD, but probably had no effect. --- diff --git a/encoder/macroblock.c b/encoder/macroblock.c index 814e5b1c..a3fcd612 100644 --- a/encoder/macroblock.c +++ b/encoder/macroblock.c @@ -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;