Commit 53914e3b authored by Sandesh Venkatesh's avatar Sandesh Venkatesh
Browse files

Merge branch '3gpp_issue_931_fix' into 'main'

Fix for 3gpp issue 931: Decoder crash in core decoder in SBA mode at 16.4 kbps

See merge request !683
parents 63b677b4 4813b3eb
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -955,7 +955,11 @@ void ivas_wb_tbe_dec_fx(
#endif
        FOR( i = 0; i < L_SHB_LAHEAD / 4; i++ )
        {
#ifdef BASOP_NOGLOB
            curr_pow = L_mac0_sat( curr_pow, shaped_wb_excitation[i + L_SHB_LAHEAD / 4], shaped_wb_excitation[i + L_SHB_LAHEAD / 4] ); /* Q(2*Q_bwe_exc_ext) */
#else
            curr_pow = L_mac0( curr_pow, shaped_wb_excitation[i + L_SHB_LAHEAD / 4], shaped_wb_excitation[i + L_SHB_LAHEAD / 4] ); /* Q(2*Q_bwe_exc_ext) */
#endif
        }

        if ( GT_16( voice_factors[0], 24576 ) )