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

Merge branch '862-possible-saturation-in-stereo-fer' into 'main'

fix for 862

Closes #862

See merge request !566
parents c66edbbd 6fbcdd3d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1801,7 +1801,7 @@ void ivas_swb_tbe_dec_fx(
    /* rescale the TBE post proc memory */
    FOR( i = 0; i < LPC_SHB_ORDER; i++ )
    {
        hBWE_TD->mem_stp_swb_fx[i] = shl( hBWE_TD->mem_stp_swb_fx[i], sub( Q_bwe_exc, st->prev_Q_bwe_syn ) );
        hBWE_TD->mem_stp_swb_fx[i] = shl_sat( hBWE_TD->mem_stp_swb_fx[i], sub( Q_bwe_exc, st->prev_Q_bwe_syn ) );
        move16();
    }
#endif