mirror of https://github.com/mstorsjo/fdk-aac.git
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:
parent
9ab69f0c61
commit
0eb8139145
|
@ -676,7 +676,6 @@ prepareDrcGain(HANDLE_DRC_GAIN_DECODER hGainDec,
|
||||||
nDrcBands = pActiveDrc->bandCountForChannelGroup[g];
|
nDrcBands = pActiveDrc->bandCountForChannelGroup[g];
|
||||||
for (b = 0; b < nDrcBands; b++) {
|
for (b = 0; b < nDrcBands; b++) {
|
||||||
DRC_ERROR err = DE_OK;
|
DRC_ERROR err = DE_OK;
|
||||||
if (gainSetIndex >= 12) return DE_PARAM_OUT_OF_RANGE;
|
|
||||||
GAIN_SET* pGainSet = &(pCoef->gainSet[gainSetIndex]);
|
GAIN_SET* pGainSet = &(pCoef->gainSet[gainSetIndex]);
|
||||||
int seq = pGainSet->gainSequenceIndex[b];
|
int seq = pGainSet->gainSequenceIndex[b];
|
||||||
DRC_CHARACTERISTIC* pDChar = &(pGainSet->drcCharacteristic[b]);
|
DRC_CHARACTERISTIC* pDChar = &(pGainSet->drcCharacteristic[b]);
|
||||||
|
|
Loading…
Reference in New Issue