summaryrefslogtreecommitdiffstats
path: root/media/libstagefright
diff options
context:
space:
mode:
authorLeena Winterrowd <lenhardw@codeaurora.org>2016-01-26 13:41:38 -0800
committerSteve Kondik <steve@cyngn.com>2016-04-13 13:54:56 -0700
commit20f078273de062f24b603e12197667b47ab20d05 (patch)
tree499fcbde9f479765cd87496ddf0b080dab002655 /media/libstagefright
parent48827966831de92e0190f96820fa6e7d9e149b50 (diff)
downloadframeworks_av-20f078273de062f24b603e12197667b47ab20d05.zip
frameworks_av-20f078273de062f24b603e12197667b47ab20d05.tar.gz
frameworks_av-20f078273de062f24b603e12197667b47ab20d05.tar.bz2
stagefright: Fix CLANG compilation for AMR decoder
Fix invalid type in error log's format string. Change-Id: I26aabfcdc1a03c0a7d9cd10fb3b39a660a9be03a
Diffstat (limited to 'media/libstagefright')
-rw-r--r--media/libstagefright/codecs/amrnb/dec/SoftAMR.cpp2
1 files changed, 1 insertions, 1 deletions
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);