diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-11-27 18:44:28 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-11-27 18:44:28 +0000 |
commit | 0a1e3b6ef9e9188bcd026d921b023b0c311d30b0 (patch) | |
tree | 0d4545b082e2170dd57dfe14edc26e8a7dbe7500 /libAACdec/src | |
parent | 652432830ad1da5ccc395bff21df5dc07c1a68e4 (diff) | |
parent | eb0711921bb2654e12ed75a6a60a15f45652c029 (diff) | |
download | fdk-aac-0a1e3b6ef9e9188bcd026d921b023b0c311d30b0.tar.gz fdk-aac-0a1e3b6ef9e9188bcd026d921b023b0c311d30b0.tar.bz2 fdk-aac-0a1e3b6ef9e9188bcd026d921b023b0c311d30b0.zip |
Merge "Unsigned Integer Overflow in aacDecoder_DecodeFrame()."
Diffstat (limited to 'libAACdec/src')
-rw-r--r-- | libAACdec/src/aacdecoder_lib.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libAACdec/src/aacdecoder_lib.cpp b/libAACdec/src/aacdecoder_lib.cpp index ea52bb5..b528ef1 100644 --- a/libAACdec/src/aacdecoder_lib.cpp +++ b/libAACdec/src/aacdecoder_lib.cpp @@ -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) || |