Commit 040c725b authored by Sandesh Venkatesh's avatar Sandesh Venkatesh
Browse files

Merge branch '3gpp_issue_1436_fix' into 'main'

Fix for 3GPP issue 1436: Decoder crash for ParamMC at 48kbps FER mono/stereo...

See merge request !1334
parents f750b4e3 95f5e56b
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -469,6 +469,14 @@ void stereo_mdct_core_dec_fx(
        move16();
        move16();

        FOR( ch = 0; ch < CPE_CHANNELS; ch++ )
        {
            if ( NE_16( hCPE->hCoreCoder[ch]->core, TCX_20_CORE ) )
            {
                x_e[ch][1] = x_e[ch][0];
                move16();
            }
        }
        stereo_decoder_tcx_fx( hCPE->hStereoMdct, ms_mask, x_0_fx[1], x_fx[0], x_fx[1], &hCPE->hStereoMdct->mdct_stereo_mode[0], sts[0]->core, sts[1]->core, sts[0]->igf, L_frameTCX[0], L_frameTCX[1], 0, sts[0]->last_core, sts[1]->last_core, 0, &q_x_1, &q_x_0 );
    }