Commit 5c1e7d54 authored by Sandesh Venkatesh's avatar Sandesh Venkatesh
Browse files

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

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

link #1041
parent 0c981e1d
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 ) );