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

Merge branch '3gpp_issue_1388_fix_1' into 'main'

Fix for 3GPP issue 1388: Stereo Encoder 16.4 kbps: Various Discontinuities in LTV [allow regression]

See merge request !1570
parents 77b4deac d6b15db8
Loading
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -370,7 +370,7 @@ Word16 inov_encode_ivas_fx(
    Word16 shift,
    Word16 Q_new )
{
    Word16 dn[2 * L_SUBFR], Qdn, Qcn;
    Word16 dn[2 * L_SUBFR], Qdn, Qcn, Qh2;
    Word16 nBits, cmpl_flag;
    Word16 stack_pulses;
    Word16 g1, g2;
@@ -586,6 +586,9 @@ Word16 inov_encode_ivas_fx(

    set16_fx( y2, 0, L_SUBFR );

    Qh2 = sub( 14, norm_s( h2[0] ) );
    scale_sig( h2, L_SUBFR, sub( Q12, Qh2 ) );

    IF( !Opt_AMR_WB )
    {
        IF( st_fx->acelp_cfg.fcb_mode )