Commit 8cd57a24 authored by vaillancour's avatar vaillancour
Browse files

Fix for -max_band FB ./switchPaths/sw_164_1280.bin 48

parent 016048e7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -819,10 +819,11 @@ void E_ACELP_pulsesign(const Word16 cn[], Word16 dn[], Word16 dn2[], Word16 sign

#ifdef BASOP_NOGLOB
    k_dn = round_fx_o(Lval, &Overflow);
    k_cn = round_fx_o(Lcor, &Overflow);
#else /* BASOP_NOGLOB */
    k_dn = round_fx(Lval);
#endif /* BASOP_NOGLOB */
    k_cn = round_fx(Lcor);
#endif /* BASOP_NOGLOB */

    k_cn = mult_r(0x2000, k_cn);              /* 1 in Q13 */
    k_dn = mult_r(alp, k_dn);              /* alp in Q13 */