mirror of https://github.com/mstorsjo/fdk-aac.git
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:
parent
2b3e9ddc81
commit
a0411159e8
|
@ -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]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue