From 20f078273de062f24b603e12197667b47ab20d05 Mon Sep 17 00:00:00 2001 From: Leena Winterrowd Date: Tue, 26 Jan 2016 13:41:38 -0800 Subject: stagefright: Fix CLANG compilation for AMR decoder Fix invalid type in error log's format string. Change-Id: I26aabfcdc1a03c0a7d9cd10fb3b39a660a9be03a --- media/libstagefright/codecs/amrnb/dec/SoftAMR.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'media/libstagefright') diff --git a/media/libstagefright/codecs/amrnb/dec/SoftAMR.cpp b/media/libstagefright/codecs/amrnb/dec/SoftAMR.cpp index f8316fd..1a4ed55 100644 --- a/media/libstagefright/codecs/amrnb/dec/SoftAMR.cpp +++ b/media/libstagefright/codecs/amrnb/dec/SoftAMR.cpp @@ -353,7 +353,7 @@ void SoftAMR::onQueueFilled(OMX_U32 /* portIndex */) { size_t frameSize = getFrameSize(mode); if (inHeader->nFilledLen < frameSize) { - ALOGE("Filled length vs frameSize %u vs %lu. Corrupt clip?", + ALOGE("Filled length vs frameSize %u vs %zu. Corrupt clip?", inHeader->nFilledLen, frameSize); notify(OMX_EventError, OMX_ErrorUndefined, 0, NULL); -- cgit v1.1