Commit da1bc99c authored by Yusuke Nakamura's avatar Yusuke Nakamura Committed by Fiona Glaser
Browse files

Fix no-mbtree + aq-mode=0

Regression in r1618.
parent 36bbd4d2
......@@ -254,7 +254,7 @@ void x264_adaptive_quant_frame( x264_t *h, x264_frame_t *frame, float *quant_off
if( h->param.rc.i_aq_mode == X264_AQ_NONE || h->param.rc.f_aq_strength == 0 )
{
/* Need to init it anyways for MB tree */
if( h->param.rc.f_aq_strength == 0 )
if( h->param.rc.i_aq_mode && h->param.rc.f_aq_strength == 0 )
{
if( quant_offsets )
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment