[x264-devel] Fix dumb bug caused by stray semicolon
Jason Garrett-Glaser
git at videolan.org
Sat Feb 19 00:34:08 CET 2011
x264 | branch: master | Jason Garrett-Glaser <jason at x264.com> | Fri Feb 11 13:47:27 2011 -0800| [4835f7c8d5e0c164c6f9a67917efe5dd63f5bdb9] | committer: Jason Garrett-Glaser
Fix dumb bug caused by stray semicolon
Caused noise reduction to run incorrectly in part of RD, but probably had no effect.
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=4835f7c8d5e0c164c6f9a67917efe5dd63f5bdb9
---
encoder/macroblock.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/encoder/macroblock.c b/encoder/macroblock.c
index 814e5b1..a3fcd61 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;
More information about the x264-devel
mailing list