Commit 04009e67 authored by Sandesh Venkatesh's avatar Sandesh Venkatesh
Browse files

Merge branch '3gpp_issue_928_fix' into 'main'

Fix for issue 928: Decoder crash for Stereo EVS Downmix with FEC in gaus_dec_fx()

See merge request !669
parents 2b6dc1f3 d8809b8c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ void gaus_dec_fx(
    L_tmp = Dot_product12( code, code, L_SUBFR, &exp );
    exp = sub( exp, 18 /*24*/ + 6 ); /* exp: -18 (code in Q9), -6 (/L_SUBFR) */
    L_tmp = Isqrt_lc( L_tmp, &exp );
    *inv_gain_inov = extract_h( L_shl( L_tmp, sub( exp, 3 ) ) ); /* inv_gain_inov in Q12 */
    *inv_gain_inov = extract_h( L_shl_sat( L_tmp, sub( exp, 3 ) ) ); /* inv_gain_inov in Q12 */
    move16();

    nb_bits = st_fx->acelp_cfg.gains_mode[shr( i_subfr, 6 )];