Commit 0baf11e2 authored by multrus's avatar multrus
Browse files

supplemental patch, to avoid silence-mode being triggered for TCX10 frames

parent 66f038fa
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -881,7 +881,11 @@ void ivas_mdct_core_whitening_enc(
        {
            chE_tot = sum_f( chE, NB_DIV );

#ifdef FIX_MCT_UNINIT_MEM
            if ( chE_tot < SILENT_CHANNEL_THRES && nSubframes == 1 )
#else
            if ( chE_tot < SILENT_CHANNEL_THRES )
#endif
            {
                st->mct_chan_mode = MCT_CHAN_MODE_IGNORE;
                st->bits_frame_channel = 0;