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
1 changed files with 1 additions and 1 deletions

View File

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