Commit ae3d6e22 authored by Sandesh Venkatesh's avatar Sandesh Venkatesh
Browse files

Fix for 3GPP issue 817: Fixes LTV crash issue for 10dB Multi Channel stream

[x] Test case - 10dB ltv-Multi-channel 5_1 at 13.2 kbps, 48kHz in, 48kHz out
parent c6a54cbf
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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();