aboutsummaryrefslogtreecommitdiffstats
path: root/libMpegTPDec/src/tpdec_asc.cpp
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-05-10 07:21:32 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-05-10 07:21:32 +0000
commite30420c551a348fdf0a20888ca2b95b527060061 (patch)
tree756d84f186478676d172f1afc3339c05c6b69709 /libMpegTPDec/src/tpdec_asc.cpp
parent2fd44f2027f15c5e141f05245819bf424a44cfa1 (diff)
parent44ac411683e7cfbfdb1f58e02d54377d709c8dd4 (diff)
downloadfdk-aac-e30420c551a348fdf0a20888ca2b95b527060061.tar.gz
fdk-aac-e30420c551a348fdf0a20888ca2b95b527060061.tar.bz2
fdk-aac-e30420c551a348fdf0a20888ca2b95b527060061.zip
Snap for 4773106 from 44ac411683e7cfbfdb1f58e02d54377d709c8dd4 to pi-release
Change-Id: I5a98f52a42445a8a9cbd9e582612a57d1e277f5d
Diffstat (limited to 'libMpegTPDec/src/tpdec_asc.cpp')
-rw-r--r--libMpegTPDec/src/tpdec_asc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libMpegTPDec/src/tpdec_asc.cpp b/libMpegTPDec/src/tpdec_asc.cpp
index 74beaa6..b7fd2a1 100644
--- a/libMpegTPDec/src/tpdec_asc.cpp
+++ b/libMpegTPDec/src/tpdec_asc.cpp
@@ -257,11 +257,11 @@ static int CProgramConfig_ReadHeightExt(CProgramConfig *pPce,
}
} else {
/* No valid extension data found -> restore the initial bitbuffer state */
- FDKpushBack(bs, startAnchor - FDKgetValidBits(bs));
+ FDKpushBack(bs, (INT)startAnchor - (INT)FDKgetValidBits(bs));
}
/* Always report the bytes read. */
- *bytesAvailable -= (startAnchor - FDKgetValidBits(bs)) >> 3;
+ *bytesAvailable -= ((INT)startAnchor - (INT)FDKgetValidBits(bs)) >> 3;
return (err);
}