mirror of
https://github.com/mstorsjo/fdk-aac.git
synced 2025-02-02 00:46:43 +01:00
Merge "Do not support channel configuration change within PCE"
am: ed56e77acb Change-Id: I46123b5bebaf9418a6033a1a88d5d2542f6ade6d
This commit is contained in:
commit
a82589476a
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user