mirror of
https://github.com/mstorsjo/fdk-aac.git
synced 2025-02-18 04:00:36 +01:00
Revert "Avoid index-out-of-bounds in prepareDrcGain"
This reverts commit 5ab5496af95674e9ee741cba178d5b981bccbe45. 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…
x
Reference in New Issue
Block a user