Commit 341d9459 authored by vaclav's avatar vaclav
Browse files

remove unnecessary assignment - CPE should be always with element_mode_init = IVAS_CPE_MDCT;

parent ae6058c6
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -352,10 +352,6 @@ ivas_error ivas_corecoder_enc_reconfig(
            for ( cpe_id = nCPE_existing; cpe_id < st_ivas->nCPE; cpe_id++ )
            {
#ifdef MC_BITRATE_SWITCHING
                if ( st_ivas->mc_mode == MC_MODE_MCMASA && st_ivas->hMcMasa->separateChannelEnabled )
                {
                    st_ivas->hEncoderConfig->element_mode_init = IVAS_CPE_MDCT; // !!! VE: can it be set in McMASA config module rather than here?
                }
                if ( ( error = create_cpe_enc( st_ivas, cpe_id, brate_CPE ) ) != IVAS_ERR_OK )
#else
                if ( ( error = create_cpe_enc( st_ivas, cpe_id, ( ivas_total_brate / st_ivas->nchan_transport ) * CPE_CHANNELS ) ) != IVAS_ERR_OK )