diff options
author | Martin Storsjo <martin@martin.st> | 2019-10-08 15:10:29 +0300 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2019-10-08 15:10:29 +0300 |
commit | 18aa41a0e7f242e1dcd1b3c28eba251bc028663d (patch) | |
tree | 0a9c0ed162e1e2875db98d2c5e12e0d61a401047 /libDRCdec/src | |
parent | 0eb81391457a5ce5163c6865db98bfd93731b6aa (diff) | |
download | fdk-aac-18aa41a0e7f242e1dcd1b3c28eba251bc028663d.tar.gz fdk-aac-18aa41a0e7f242e1dcd1b3c28eba251bc028663d.tar.bz2 fdk-aac-18aa41a0e7f242e1dcd1b3c28eba251bc028663d.zip |
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.
Diffstat (limited to 'libDRCdec/src')
-rw-r--r-- | libDRCdec/src/drcGainDec_preprocess.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libDRCdec/src/drcGainDec_preprocess.cpp b/libDRCdec/src/drcGainDec_preprocess.cpp index 8bd41d9..c543c53 100644 --- a/libDRCdec/src/drcGainDec_preprocess.cpp +++ b/libDRCdec/src/drcGainDec_preprocess.cpp @@ -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++) { |