1
0
mirror of https://github.com/mstorsjo/fdk-aac.git synced 2025-06-05 22:39:13 +02:00

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

This reverts commit 3b9dd6b614.

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:09 +03:00
parent d3e9ff8fe4
commit 9ab69f0c61

View File

@@ -308,8 +308,6 @@ processDrcTime(HANDLE_DRC_GAIN_DECODER hGainDec, const int activeDrcIndex,
pLinearNodeBuffer[pActiveDrc->lnbIndexForChannel[c][lnbIx] + b]); pLinearNodeBuffer[pActiveDrc->lnbIndexForChannel[c][lnbIx] + b]);
else else
pLnbPrevious = pDummyLnb; pLnbPrevious = pDummyLnb;
if (pLnbPrevious->nNodes[lnbIx] <= 0 || pLnbPrevious->nNodes[lnbIx] > 16)
return DE_NOT_OK;
nodePrevious = nodePrevious =
pLnbPrevious->linearNode[lnbIx][pLnbPrevious->nNodes[lnbIx] - 1]; pLnbPrevious->linearNode[lnbIx][pLnbPrevious->nNodes[lnbIx] - 1];
nodePrevious.time -= hGainDec->frameSize; nodePrevious.time -= hGainDec->frameSize;