summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorPawin Vongmasa <pawin@google.com>2016-08-19 02:07:33 -0700
committergitbuildkicker <android-build@google.com>2016-08-25 21:56:09 -0700
commit45f500ac36958b36afa649c8d68490cd38442252 (patch)
tree600a28ebc446ef8f73a97b2197d8c449b7a78731 /media
parent497fcd71dd221dd2ccf6b32127ece5ec43c8660e (diff)
downloadframeworks_av-45f500ac36958b36afa649c8d68490cd38442252.zip
frameworks_av-45f500ac36958b36afa649c8d68490cd38442252.tar.gz
frameworks_av-45f500ac36958b36afa649c8d68490cd38442252.tar.bz2
Fix build breakage caused by commit
940829f69b52d6038db66a9c727534636ecc456d. Change-Id: I4776db4a26fb3c31bb994d48788373fe569c812a (cherry picked from commit baa9146401e28c5acf54dea21ddd197f0d3a8fcd)
Diffstat (limited to 'media')
-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;