Commit 238a397f authored by malenov's avatar malenov
Browse files

avoid reset_indices_enc() in MC_PARAMUPMIX_MODE

parent cab85a14
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -686,6 +686,7 @@ ivas_error ivas_init_encoder(
                    return error;
                }

#ifndef IND_LIST_DYN
                for ( n = 0; n < CPE_CHANNELS; n++ )
                {
                    /* we need the correct bitstream also for the LFE channel since it might become a proper coded channel when
@@ -699,6 +700,7 @@ ivas_error ivas_init_encoder(
                    st_ivas->hCPE[cpe_id]->hMetaData->ind_list = ind_list_metadata[st_ivas->nSCE];
                    reset_indices_enc( st_ivas->hCPE[cpe_id]->hMetaData, MAX_BITS_METADATA );
                }
#endif
            }

            if ( ( error = create_mct_enc( st_ivas ) ) != IVAS_ERR_OK )