[x264-devel] commit: Fix no-mbtree + aq-mode=0 (Yusuke Nakamura )
git at videolan.org
git at videolan.org
Wed Jun 2 22:00:58 CEST 2010
x264 | branch: master | Yusuke Nakamura <muken.the.vfrmaniac at gmail.com> | Wed Jun 2 22:27:57 2010 +0900| [9d1c4413b220ca4f20cd7ebd3d539b60933b90dc] | committer: Jason Garrett-Glaser
Fix no-mbtree + aq-mode=0
Regresion in r1618.
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=9d1c4413b220ca4f20cd7ebd3d539b60933b90dc
---
encoder/ratecontrol.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/encoder/ratecontrol.c b/encoder/ratecontrol.c
index d09de98..392716b 100644
--- a/encoder/ratecontrol.c
+++ b/encoder/ratecontrol.c
@@ -264,7 +264,7 @@ void x264_adaptive_quant_frame( x264_t *h, x264_frame_t *frame, float *quant_off
for( int mb_xy = 0; mb_xy < h->mb.i_mb_count; mb_xy++ )
frame->i_inv_qscale_factor[mb_xy] = x264_exp2fix8( frame->f_qp_offset[mb_xy] );
}
- else
+ else if( h->param.rc.i_aq_mode )
{
memset( frame->f_qp_offset, 0, h->mb.i_mb_count * sizeof(float) );
memset( frame->f_qp_offset_aq, 0, h->mb.i_mb_count * sizeof(float) );
More information about the x264-devel
mailing list