summaryrefslogtreecommitdiffstats
path: root/media/libstagefright
diff options
context:
space:
mode:
authorLajos Molnar <lajos@google.com>2016-07-13 20:27:32 -0700
committergitbuildkicker <android-build@google.com>2016-08-16 15:51:49 -0700
commit2a1a0fd88e84fc845cd6bce3a161672d80c1df39 (patch)
tree689f41ba6549c4f5312e1b105b7fa6e6a9fc59e9 /media/libstagefright
parent356f1ded898c5708ea95fe22ece052c3a094950d (diff)
downloadframeworks_av-2a1a0fd88e84fc845cd6bce3a161672d80c1df39.zip
frameworks_av-2a1a0fd88e84fc845cd6bce3a161672d80c1df39.tar.gz
frameworks_av-2a1a0fd88e84fc845cd6bce3a161672d80c1df39.tar.bz2
fix build
Change-Id: I9bb8c659d3fc97a8e748451d82d0f3448faa242b
Diffstat (limited to 'media/libstagefright')
-rw-r--r--media/libstagefright/codecs/on2/dec/SoftVPX.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/media/libstagefright/codecs/on2/dec/SoftVPX.cpp b/media/libstagefright/codecs/on2/dec/SoftVPX.cpp
index 58a2660..912fac2 100644
--- a/media/libstagefright/codecs/on2/dec/SoftVPX.cpp
+++ b/media/libstagefright/codecs/on2/dec/SoftVPX.cpp
@@ -194,7 +194,8 @@ bool SoftVPX::outputBufferSafe(OMX_BUFFERHEADERTYPE *outHeader) {
uint64_t nFilledLen = width;
nFilledLen *= height;
if (nFilledLen > UINT32_MAX / 3) {
- ALOGE("b/29421675, nFilledLen overflow %llu w %u h %u", nFilledLen, width, height);
+ ALOGE("b/29421675, nFilledLen overflow %llu w %u h %u",
+ (unsigned long long)nFilledLen, width, height);
android_errorWriteLog(0x534e4554, "29421675");
return false;
} else if (outHeader->nAllocLen < outHeader->nFilledLen) {