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

Merge branch '3gpp_issue_1148_fix' into 'main'

Fix for 3GPP issue 1148: crash at 32kbps

See merge request !939
parents 18600293 6bff9a6b
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -107,4 +107,5 @@
#define FIX_ISSUE_1122                          /* Ittiam: Fix issue 1122: corrected incorrect scaling of a buffer leading to incorrect metadata bits */
#define FIX_1132_STACK_CORRUPTION               /* Stack corruption issue due of extending index access*/
#define FIX_ISSUE_1092                          /* Ittiam: Fix for Issue 1092: BASOP asserts in stereo fx encoder for selection test inputs*/
#define FIX_ISSUE_1148
#endif
+7 −0
Original line number Diff line number Diff line
@@ -480,7 +480,14 @@ void encod_unvoiced_ivas_fx(
        voice_factors_fx[i_subfr / L_SUBFR] = 0;
        move16();

#ifdef FIX_ISSUE_1148
        if ( st_fx->hBWE_TD != NULL )
        {
            interp_code_5over2_fx( &exc_fx[i_subfr], &bwe_exc_fx[i_subfr * HIBND_ACB_L_FAC], L_SUBFR );
        }
#else
        interp_code_5over2_fx( &exc_fx[i_subfr], &bwe_exc_fx[i_subfr * HIBND_ACB_L_FAC], L_SUBFR );
#endif

        /*-----------------------------------------------------------------*
         * Synthesize speech to update mem_syn[].