Commit 989db2c9 authored by malenov's avatar malenov
Browse files

fix one more instance where sts[1]->last_core_brate is used

parent 79666531
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -379,7 +379,11 @@ ivas_error acelp_core_enc(
         * After inactive period, use the most up-to-date ISPs
         *-----------------------------------------------------------------*/

#ifdef NONBE_FIX_1110_STEREO_DTX_BRATE_SWITCHING
        if ( st->hDtxEnc != NULL && ( st->last_core_brate == FRAME_NO_DATA || st->last_core_brate == SID_2k40 ) )
#else
        if ( st->last_core_brate == FRAME_NO_DATA || st->last_core_brate == SID_2k40 )
#endif
        {
            mvr2r( st->hDtxEnc->lspCNG, st->lsp_old, M );
            lsp2lsf( st->hDtxEnc->lspCNG, st->lsf_old, M, int_fs );