summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorRobert Shih <robertshih@google.com>2016-07-14 12:37:52 -0700
committergitbuildkicker <android-build@google.com>2016-08-16 15:51:50 -0700
commit361db9e07657a6de075b5f23b5cfcecfd5a73fd3 (patch)
tree466a66d0b241897eeb73619891270bd951dda9c2 /media
parent3d4cb8bbc03aab52c71bb339624170f2b7238cdf (diff)
downloadframeworks_av-361db9e07657a6de075b5f23b5cfcecfd5a73fd3.zip
frameworks_av-361db9e07657a6de075b5f23b5cfcecfd5a73fd3.tar.gz
frameworks_av-361db9e07657a6de075b5f23b5cfcecfd5a73fd3.tar.bz2
Fix build
Change-Id: I96a9c437eec53a285ac96794cc1ad0c8954b27e0
Diffstat (limited to 'media')
-rw-r--r--media/libstagefright/codecs/mp3dec/SoftMP3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/codecs/mp3dec/SoftMP3.cpp b/media/libstagefright/codecs/mp3dec/SoftMP3.cpp
index daef471..54fe622 100644
--- a/media/libstagefright/codecs/mp3dec/SoftMP3.cpp
+++ b/media/libstagefright/codecs/mp3dec/SoftMP3.cpp
@@ -122,7 +122,7 @@ void SoftMP3::initDecoder() {
void *SoftMP3::memsetSafe(OMX_BUFFERHEADERTYPE *outHeader, int c, size_t len) {
if (len > outHeader->nAllocLen) {
- ALOGE("memset buffer too small: got %lu, expected %zu", outHeader->nAllocLen, len);
+ ALOGE("memset buffer too small: got %lu, expected %zu", (unsigned long)outHeader->nAllocLen, len);
android_errorWriteLog(0x534e4554, "29422022");
notify(OMX_EventError, OMX_ErrorUndefined, OUTPUT_BUFFER_TOO_SMALL, NULL);
mSignalledError = true;