Commit 0591e576 authored by Fabian Bauer's avatar Fabian Bauer
Browse files

shl_ro: change asserts and run once again

parent 1079d508
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4112,7 +4112,8 @@ void ivas_lfe_synth_with_filters_fx(
            transportGain_fx_exp = add( sub( hMasaLfeSynth->transportEneSmooth_q, hMasaLfeSynth->targetEneTransSmooth_q ), transportGain_fx_exp );
            transportGain_fx = Sqrt16( transportGain_fx, &transportGain_fx_exp ); // q15-transportGain_fx_exp
#ifdef ISSUE_1751_replace_shl_ro
            assert( transportGain_fx_exp >= 0 );
            //assert( transportGain_fx_exp >= 0 ); FAILS
            assert( transportGain_fx_exp <= 0 );
            if ( transportGain_fx_exp >= 0 )
            {
                transportGain_fx = shl_sat( transportGain_fx, transportGain_fx_exp ); // Q15