Revert "Avoid a failed assert on invalid channel indices"

This reverts commit 9b0f848911.

This local fix doesn't seem to be needed any more after the latest
upstream update.
This commit is contained in:
Martin Storsjo 2020-11-17 12:55:02 +02:00
parent 2b3e9ddc81
commit a0411159e8
1 changed files with 0 additions and 3 deletions

View File

@ -583,9 +583,6 @@ static PCMDMX_ERROR getChannelMode(
(channelType[ch] & 0x0F) - 1, (channelType[ch] & 0x0F) - 1,
0); /* Assign all undefined channels (ACT_NONE) to front channels. */ 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], spkrPos[ch] = getSpeakerPos(channelType[ch], channelIndices[ch],
numCh[channelType[ch] >> 4][chGrp]); numCh[channelType[ch] >> 4][chGrp]);