summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawin Vongmasa <pawin@google.com>2016-08-19 02:07:33 -0700
committergitbuildkicker <android-build@google.com>2016-08-26 16:20:40 -0700
commit089104004f5aeb2634764c56b948ef83318a9f95 (patch)
treec70fbf3844c8d49360455bd377cc91c67966c30a
parentb6af3b9bc072c4d832db9dc93ff818472cd50069 (diff)
downloadframeworks_av-089104004f5aeb2634764c56b948ef83318a9f95.zip
frameworks_av-089104004f5aeb2634764c56b948ef83318a9f95.tar.gz
frameworks_av-089104004f5aeb2634764c56b948ef83318a9f95.tar.bz2
Fix build breakage caused by commit
940829f69b52d6038db66a9c727534636ecc456d. Change-Id: I4776db4a26fb3c31bb994d48788373fe569c812a (cherry picked from commit baa9146401e28c5acf54dea21ddd197f0d3a8fcd)
-rw-r--r--media/libstagefright/codecs/m4v_h263/dec/SoftMPEG4.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/libstagefright/codecs/m4v_h263/dec/SoftMPEG4.cpp b/media/libstagefright/codecs/m4v_h263/dec/SoftMPEG4.cpp
index e1cfc06..1dd631a 100644
--- a/media/libstagefright/codecs/m4v_h263/dec/SoftMPEG4.cpp
+++ b/media/libstagefright/codecs/m4v_h263/dec/SoftMPEG4.cpp
@@ -213,8 +213,8 @@ void SoftMPEG4::onQueueFilled(OMX_U32 /* portIndex */) {
OMX_U32 yFrameSize = sizeof(uint8) * mHandle->size;
if ((outHeader->nAllocLen < yFrameSize) ||
(outHeader->nAllocLen - yFrameSize < yFrameSize / 2)) {
- ALOGE("Too small output buffer for reference frame: %zu bytes",
- outHeader->nAllocLen);
+ ALOGE("Too small output buffer for reference frame: %lu bytes",
+ (unsigned long)outHeader->nAllocLen);
android_errorWriteLog(0x534e4554, "30033990");
notify(OMX_EventError, OMX_ErrorUndefined, 0, NULL);
mSignalledError = true;