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

Merge branch '3gpp_issue_1041_fix' into 'main'

Fix for 3GPP issue 1041: Decoder crash for Stereo at 32kbps JBM operation in...

See merge request !779
parents 3dae12a8 5c1e7d54
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -760,7 +760,7 @@ void stereo_dft_res_ecu_burst_att_fx(
    }
    ELSE
    {
        fac = L_sub( MAX_32, L_deposit_h( BASOP_Util_Divide3232_Scale( sub( hStereoDft->time_offs, L_ana ), add( hStereoDft->time_offs, L_ana ), &q_fac ) ) ); /* Q0 */
        fac = L_sub( MAX_32, L_deposit_h( BASOP_Util_Divide3232_Scale( L_sub( hStereoDft->time_offs, L_ana ), L_add( hStereoDft->time_offs, L_ana ), &q_fac ) ) ); /* Q0 */
    }

    v_multc_fixed( pDFT_RES, fac, pDFT_RES, shl( L_res, 1 ) );