mirror of
https://github.com/mstorsjo/fdk-aac.git
synced 2025-03-14 23:00:03 +01:00
Revert "Avoid index-out-of-bounds in prepareDrcGain"
This reverts commit cc5c85dd70f04178abccfd2c5539b13e01da78d8. It seems like this isn't needed any longer on the latest upstream version.
This commit is contained in:
parent
0eb8139145
commit
18aa41a0e7
@ -694,7 +694,6 @@ prepareDrcGain(HANDLE_DRC_GAIN_DECODER hGainDec,
|
||||
err = _prepareDrcCharacteristic(pDChar, pCoef, b, &nodeMod);
|
||||
if (err) return err;
|
||||
|
||||
if (seq >= 12) return DE_PARAM_OUT_OF_RANGE;
|
||||
/* copy a node buffer and convert from dB to linear */
|
||||
pLnb->nNodes[lnbp] = fMin((int)hUniDrcGain->nNodes[seq], 16);
|
||||
for (i = 0; i < pLnb->nNodes[lnbp]; i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user