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

This reverts commit cc5c85dd70.

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:29 +03:00
parent 0eb8139145
commit 18aa41a0e7
1 changed files with 0 additions and 1 deletions

View File

@ -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++) {