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

Revert "Avoid failing asserts on broken bitstreams"

This reverts commit 6a2eb8b30f.

This issue that this commit fixed seems to have been fixed
differently upstream, by 9ed084750d.
This commit is contained in:
Martin Storsjo
2022-01-10 14:00:56 +02:00
parent 41ae84525e
commit aad97f4ec2

View File

@@ -611,8 +611,6 @@ static PCMDMX_ERROR getChannelMode(
(channelType[ch] & 0x0F) - 1,
0); /* Assign all undefined channels (ACT_NONE) to front channels. */
if (channelIndices[ch] >= numCh[channelType[ch] >> 4][chGrp])
return PCMDMX_INVALID_CH_CONFIG;
spkrPos[ch] = getSpeakerPos(channelType[ch], channelIndices[ch],
numCh[channelType[ch] >> 4][chGrp]);