OSDN Git Service

Fix build breakage caused by commit
authorPawin Vongmasa <pawin@google.com>
Fri, 19 Aug 2016 09:07:33 +0000 (02:07 -0700)
committerPawin Vongmasa <pawin@google.com>
Fri, 19 Aug 2016 09:08:53 +0000 (02:08 -0700)
940829f69b52d6038db66a9c727534636ecc456d.

Change-Id: I4776db4a26fb3c31bb994d48788373fe569c812a

media/libstagefright/codecs/m4v_h263/dec/SoftMPEG4.cpp

index 72f7e0c..f503a42 100644 (file)
@@ -205,8 +205,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;