Commit 74eaf8c6 authored by Sandesh Venkatesh's avatar Sandesh Venkatesh
Browse files

Merge branch 'ltv_crash_fix_MC_714_96kbps_48kHzin_48kHzout_5_1_out_fer5' into 'main'

Fix for LTV-Crash (Multi-channel 7_1_4 at 96 kbps, 48kHz in, 48kHz out, 5_1 out, random FER at 5%)

See merge request !414
parents bbfc4049 bf8cb40d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5543,7 +5543,7 @@ void ivas_lfe_synth_with_filters_fx(
        }
        ELSE
        {
            lfeGain_fx = BASOP_Util_Divide3232_Scale( hMasaLfeSynth->targetEneLfeSmooth_fx, /*EPSILON + */ hMasaLfeSynth->transportEneSmooth_fx, &lfeGain_fx_exp );
            lfeGain_fx = extract_h( BASOP_Util_Divide3232_Scale_cadence( hMasaLfeSynth->targetEneLfeSmooth_fx, L_add( EPSILON_FX, hMasaLfeSynth->transportEneSmooth_fx ), &lfeGain_fx_exp ) );
            lfeGain_fx_exp = add( sub( hMasaLfeSynth->transportEneSmooth_q, hMasaLfeSynth->targetEneLfeSmooth_q ), lfeGain_fx_exp );
            lfeGain_fx = Sqrt16( lfeGain_fx, &lfeGain_fx_exp );
            lfeGain_fx = shl_r( lfeGain_fx, lfeGain_fx_exp ); // Q15