From 33a44b55b815f135bdb46d77e660eaef56dc42b6 Mon Sep 17 00:00:00 2001 From: Fiona Glaser Date: Fri, 11 Feb 2011 13:47:27 -0800 Subject: [PATCH] Fix dumb bug caused by stray semicolon Caused noise reduction to run incorrectly in part of RD, but probably had no effect. --- encoder/macroblock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/encoder/macroblock.c b/encoder/macroblock.c index 1c56d26b..6bd39014 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; -- 2.39.5