diff --git a/lib_dec/dec_uv_fx.c b/lib_dec/dec_uv_fx.c index 182c89ef767d708bc7dcf7cae0b06afe8a189144..8a4f4c05e888ef869b54ae1cbfcf5e934ff1c7f3 100644 --- a/lib_dec/dec_uv_fx.c +++ b/lib_dec/dec_uv_fx.c @@ -363,7 +363,11 @@ static void gain_dec_gacelp_uv_fx( *past_gcode = L_shl( L_tmp1, sub( exp_L_tmp1, 15 ) ); /* Q16 */ move32(); +#ifdef BASOP_NOGLOB + *gain_code = L_shl_sat( Mpy_32_16_1( *past_gcode, *gain_inov ), 3 ); +#else *gain_code = L_shl( Mpy_32_16_1( *past_gcode, *gain_inov ), 3 ); +#endif move32();