Commit 0b77d4af authored by PLAINSI's avatar PLAINSI
Browse files

Fix for ParamUpmix with new CPE

parent 22f5dc16
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -139,7 +139,11 @@ static void map_input_to_cpe_channels(
    }

    /* odd channel CPE*/
#ifdef MC_PARAMUPMIX_MODE
    if ( ( st_ivas->nchan_transport < st_ivas->nCPE * CPE_CHANNELS ) || ( ( st_ivas->mc_mode == MC_MODE_MCT || st_ivas->mc_mode == MC_MODE_PARAMUPMIX ) && st_ivas->hMCT->nchan_out_woLFE < st_ivas->nCPE * CPE_CHANNELS ) )
#else
    if ( ( st_ivas->nchan_transport < st_ivas->nCPE * CPE_CHANNELS ) || ( st_ivas->mc_mode == MC_MODE_MCT && st_ivas->hMCT->nchan_out_woLFE < st_ivas->nCPE * CPE_CHANNELS ) )
#endif
    {
        pdata[st_ivas->nCPE * CPE_CHANNELS - 1] = NULL;
    }