Commit bd1f4920 authored by Mohammadreza Naghibzadeh's avatar Mohammadreza Naghibzadeh
Browse files

replace shl with shl_sat.

parent 6c4484db
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -324,8 +324,8 @@ ivas_error decod_gen_voic_fx(
#ifdef FIX_2010_HF_ENERGY_LOSS
        IF( LT_32( MIN_BRATE_AVQ_EXC, st_fx->core_brate ) )
        {
            gain_code_fx = L_shl( gain_code_fx, 1 );
            gain_preQ_fx = shl( gain_preQ_fx, 1 );
            gain_code_fx = L_shl_sat( gain_code_fx, 1 );
            gain_preQ_fx = shl_sat( gain_preQ_fx, 1 );
        }
#endif
        prep_tbe_exc_fx( L_frame, L_SUBFR, i_subfr_fx, gain_pit_fx, gain_code_fx, code_fx, voice_fac_fx,