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
1 changed files with 0 additions and 2 deletions

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]);