From af44c6f21647b583151280c7247a25524e3f5436 Mon Sep 17 00:00:00 2001 From: Eleni Fotopoulou Date: Tue, 28 Mar 2023 09:09:59 +0200 Subject: [PATCH] clean up obsolete define --- lib_enc/ivas_mct_core_enc.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/lib_enc/ivas_mct_core_enc.c b/lib_enc/ivas_mct_core_enc.c index c442882107..5cbcb57daf 100644 --- a/lib_enc/ivas_mct_core_enc.c +++ b/lib_enc/ivas_mct_core_enc.c @@ -194,11 +194,9 @@ void ivas_mct_core_enc( CPE_ENC_HANDLE hCPE[MCT_MAX_BLOCKS], /* i/o: CPE encoder structures */ const int16_t nChannels, /* i : number of channels to be coded */ const int32_t ivas_total_brate, /* i : IVAS total bitrate */ -#ifndef DISABLE_BWD_MCT - const int16_t switch_bw, /* i : flag bandwidth switch occurance */ -#endif - const int16_t lfe_bits, /* i : bits spent for LFE */ - const int16_t sba_order /* i : Ambisonic (SBA) order */ + const int16_t switch_bw, /* i : flag bandwidth switch occurance */ + const int16_t lfe_bits, /* i : bits spent for LFE */ + const int16_t sba_order /* i : Ambisonic (SBA) order */ ) { int16_t ch, ch_core, nSubframes, L_subframeTCX; @@ -280,13 +278,12 @@ void ivas_mct_core_enc( { ch_core = ch * CPE_CHANNELS; -#ifndef DISABLE_BWD_MCT if ( switch_bw ) { initMdctStereoEncData( hMCT->hBlockData[ch]->hStereoMdct, ivas_format, sts[ch_core]->element_mode, sts[ch_core]->element_brate, sts[ch_core]->bwidth, sts[ch_core]->igf, sts[ch_core]->hIGFEnc->igfData.igfInfo.grid, 0 ); } -#endif + if ( sts[ch_core]->igf ) { /* calculate the igf start band from the igf start line */ -- GitLab