aboutsummaryrefslogtreecommitdiffstats
path: root/libAACdec/include/aacdecoder_lib.h
diff options
context:
space:
mode:
authorFraunhofer IIS FDK <audio-fdk@iis.fraunhofer.de>2018-05-25 19:06:33 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-05-25 19:06:33 -0700
commit1f93990cfc1bb76aa538634512938e39565f471a (patch)
tree41c65cebd836ff3f949f1134512985e4a1288593 /libAACdec/include/aacdecoder_lib.h
parent634d4f789cc713fd374db7b9dbcaeb1d89bf2d5e (diff)
parentf19e863cce96cc1e5f4ad7ce512810d5a2843ea6 (diff)
downloadfdk-aac-1f93990cfc1bb76aa538634512938e39565f471a.tar.gz
fdk-aac-1f93990cfc1bb76aa538634512938e39565f471a.tar.bz2
fdk-aac-1f93990cfc1bb76aa538634512938e39565f471a.zip
Fix unsigned integer overflow in aacDecoder_UpdateBitStreamCounters()
am: f19e863cce Change-Id: I0e8a97a690f959840fbb3a249e41b260ac87d922
Diffstat (limited to 'libAACdec/include/aacdecoder_lib.h')
-rw-r--r--libAACdec/include/aacdecoder_lib.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/libAACdec/include/aacdecoder_lib.h b/libAACdec/include/aacdecoder_lib.h
index e811d04..3a9b910 100644
--- a/libAACdec/include/aacdecoder_lib.h
+++ b/libAACdec/include/aacdecoder_lib.h
@@ -861,14 +861,16 @@ typedef struct {
returns AAC_DEC_TRANSPORT_SYNC_ERROR. It will be
< 0 if the estimation failed. */
- UINT numTotalBytes; /*!< This is the number of total bytes that have passed
- through the decoder. */
- UINT numBadBytes; /*!< This is the number of total bytes that were considered
- with errors from numTotalBytes. */
- UINT numTotalAccessUnits; /*!< This is the number of total access units that
- have passed through the decoder. */
- UINT numBadAccessUnits; /*!< This is the number of total access units that
- were considered with errors from numTotalBytes. */
+ INT64 numTotalBytes; /*!< This is the number of total bytes that have passed
+ through the decoder. */
+ INT64
+ numBadBytes; /*!< This is the number of total bytes that were considered
+ with errors from numTotalBytes. */
+ INT64
+ numTotalAccessUnits; /*!< This is the number of total access units that
+ have passed through the decoder. */
+ INT64 numBadAccessUnits; /*!< This is the number of total access units that
+ were considered with errors from numTotalBytes. */
/* Metadata */
SCHAR drcProgRefLev; /*!< DRC program reference level. Defines the reference