Revert "Avoid index-out-of-bounds in prepareDrcGain"

This reverts commit 5ab5496af9.

It seems like this isn't needed any longer on the latest upstream
version.
This commit is contained in:
Martin Storsjo 2019-10-08 15:10:27 +03:00
parent 9ab69f0c61
commit 0eb8139145
1 changed files with 0 additions and 1 deletions

View File

@ -676,7 +676,6 @@ prepareDrcGain(HANDLE_DRC_GAIN_DECODER hGainDec,
nDrcBands = pActiveDrc->bandCountForChannelGroup[g];
for (b = 0; b < nDrcBands; b++) {
DRC_ERROR err = DE_OK;
if (gainSetIndex >= 12) return DE_PARAM_OUT_OF_RANGE;
GAIN_SET* pGainSet = &(pCoef->gainSet[gainSetIndex]);
int seq = pGainSet->gainSequenceIndex[b];
DRC_CHARACTERISTIC* pDChar = &(pGainSet->drcCharacteristic[b]);