diff --git a/lib_dec/ivas_binRenderer_internal_fx.c b/lib_dec/ivas_binRenderer_internal_fx.c index 981eac8064ef8e0c7662a980655d0763eb52825c..4ee8f9f4da109a76feb343746eda6993e43d9afe 100644 --- a/lib_dec/ivas_binRenderer_internal_fx.c +++ b/lib_dec/ivas_binRenderer_internal_fx.c @@ -981,8 +981,8 @@ static void ivas_binaural_obtain_DMX_fx( ELSE { Word16 div = divide3232( P_in_fx[bandIdx], P_out_fx ); - Word16 exp = 0; // divide3232 returns Q15 + following Q16 shift - factEQ_fx = Sqrt32( L_shl( div, Q16 ), &exp ); + Word16 exp = 16; // divide3232 returns Q15 + factEQ_fx = Sqrt32( div, &exp ); factEQ_fx = L_shl( factEQ_fx, sub( exp, 1 ) ); // Q30 } if ( factEQ_fx <= 0 )