1
0
mirror of https://github.com/mstorsjo/fdk-aac.git synced 2025-06-05 22:39:13 +02:00

Do not support channel configuration change within PCE

Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc

Change-Id: I94bddad6c88148dd01fff0850e261d98ef691793
This commit is contained in:
Fraunhofer IIS FDK
2018-12-20 15:52:46 +01:00
committed by Jean-Michel Trivi
parent 5174d33de0
commit e81e8c2cc0

View File

@@ -539,13 +539,7 @@ static int CProgramConfigElement_Read(HANDLE_FDK_BITSTREAM bs,
sizeof(CProgramConfig)); /* Store the complete PCE */ sizeof(CProgramConfig)); /* Store the complete PCE */
pceStatus = 1; /* New PCE but no change of config */ pceStatus = 1; /* New PCE but no change of config */
break; break;
case 2: /* The number of channels are identical but not the config */ case 2: /* The number of channels are identical but not the config */
if (channelConfig == 0) {
FDKmemcpy(pce, tmpPce,
sizeof(CProgramConfig)); /* Store the complete PCE */
pceStatus = 2; /* Decoder needs re-configuration */
}
break;
case -1: /* The channel configuration is completely different */ case -1: /* The channel configuration is completely different */
pceStatus = -1; /* Not supported! */ pceStatus = -1; /* Not supported! */
break; break;