diff options
author | Fraunhofer IIS FDK <audio-fdk@iis.fraunhofer.de> | 2018-11-27 11:04:20 -0800 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-11-27 11:04:20 -0800 |
commit | c580437d7caf8b2efaeaeb50440815149cd788bd (patch) | |
tree | 0d4545b082e2170dd57dfe14edc26e8a7dbe7500 /libAACdec/src/aacdecoder_lib.cpp | |
parent | 692cb872b39033520951f09742c5c61ee1a7119b (diff) | |
parent | 0a1e3b6ef9e9188bcd026d921b023b0c311d30b0 (diff) | |
download | fdk-aac-c580437d7caf8b2efaeaeb50440815149cd788bd.tar.gz fdk-aac-c580437d7caf8b2efaeaeb50440815149cd788bd.tar.bz2 fdk-aac-c580437d7caf8b2efaeaeb50440815149cd788bd.zip |
Merge "Unsigned Integer Overflow in aacDecoder_DecodeFrame()."
am: 0a1e3b6ef9
Change-Id: I2469e802965d3d974ca09a8c911d0d26f09e6700
Diffstat (limited to 'libAACdec/src/aacdecoder_lib.cpp')
-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) || |