aboutsummaryrefslogtreecommitdiffstats
path: root/libMpegTPDec/src/tpdec_lib.cpp
diff options
context:
space:
mode:
authorFraunhofer IIS FDK <audio-fdk@iis.fraunhofer.de>2018-05-09 17:26:58 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-05-09 17:26:58 -0700
commit3727e8927f02558b21317ab8291727372ea0beb7 (patch)
tree756d84f186478676d172f1afc3339c05c6b69709 /libMpegTPDec/src/tpdec_lib.cpp
parentb2ce5c82bd4288b0e55d23f8cbf1d51150d752fc (diff)
parent57d474b424be58783e7abba469d2f3d800094967 (diff)
downloadfdk-aac-3727e8927f02558b21317ab8291727372ea0beb7.tar.gz
fdk-aac-3727e8927f02558b21317ab8291727372ea0beb7.tar.bz2
fdk-aac-3727e8927f02558b21317ab8291727372ea0beb7.zip
FDK patches: fix overflows in decoder out-of-band config am: 44ac411683
am: 57d474b424 Change-Id: I88183937af5edfb0430f64618b8c25f066f698de
Diffstat (limited to 'libMpegTPDec/src/tpdec_lib.cpp')
-rw-r--r--libMpegTPDec/src/tpdec_lib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libMpegTPDec/src/tpdec_lib.cpp b/libMpegTPDec/src/tpdec_lib.cpp
index 306bec0..5eeb7fc 100644
--- a/libMpegTPDec/src/tpdec_lib.cpp
+++ b/libMpegTPDec/src/tpdec_lib.cpp
@@ -283,7 +283,7 @@ TRANSPORTDEC_ERROR transportDec_OutOfBandConfig(HANDLE_TRANSPORTDEC hTp,
for (i = 0; i < 2; i++) {
if (i > 0) {
- FDKpushBack(hBs, length * 8 - FDKgetValidBits(hBs));
+ FDKpushBack(hBs, (INT)length * 8 - (INT)FDKgetValidBits(hBs));
configMode = AC_CM_ALLOC_MEM;
}