1
0
mirror of https://github.com/mstorsjo/fdk-aac.git synced 2025-02-17 03:30:35 +01:00

Merge "Unsigned Integer Overflow in aacDecoder_DecodeFrame()."

This commit is contained in:
Treehugger Robot 2018-11-27 18:44:28 +00:00 committed by Gerrit Code Review
commit 0a1e3b6ef9

View File

@ -1882,7 +1882,7 @@ aacDecoder_DecodeFrame(HANDLE_AACDECODER self, INT_PCM *pTimeData_extern,
} /* USAC DASH IPF flushing possible end */ } /* USAC DASH IPF flushing possible end */
if (accessUnit < numPrerollAU) { if (accessUnit < numPrerollAU) {
FDKpushBack(hBsAu, auStartAnchor - FDKgetValidBits(hBsAu)); FDKpushBack(hBsAu, auStartAnchor - (INT)FDKgetValidBits(hBsAu));
} else { } else {
if ((self->buildUpStatus == AACDEC_RSV60_BUILD_UP_ON) || if ((self->buildUpStatus == AACDEC_RSV60_BUILD_UP_ON) ||
(self->buildUpStatus == AACDEC_RSV60_BUILD_UP_ON_IN_BAND) || (self->buildUpStatus == AACDEC_RSV60_BUILD_UP_ON_IN_BAND) ||