summaryrefslogtreecommitdiffstats
path: root/media/libstagefright
diff options
context:
space:
mode:
authorRobert Shih <robertshih@google.com>2016-07-14 13:50:32 -0700
committergitbuildkicker <android-build@google.com>2016-07-21 17:29:24 -0700
commitd67bab69a322990aa386dad608ad2a823ef21578 (patch)
tree22335434014107d9eb9ae1455cd415addc856061 /media/libstagefright
parentae1810fab90cd6ec19d4f0386b80aa0391882fba (diff)
downloadframeworks_av-d67bab69a322990aa386dad608ad2a823ef21578.zip
frameworks_av-d67bab69a322990aa386dad608ad2a823ef21578.tar.gz
frameworks_av-d67bab69a322990aa386dad608ad2a823ef21578.tar.bz2
Fix build
Change-Id: I48ba34b3df9c9a896d4b18c3f48e41744b7dab54
Diffstat (limited to 'media/libstagefright')
-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 54fe622..9f7dd59 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", (unsigned long)outHeader->nAllocLen, len);
+ ALOGE("memset buffer too small: got %u, expected %zu", outHeader->nAllocLen, len);
android_errorWriteLog(0x534e4554, "29422022");
notify(OMX_EventError, OMX_ErrorUndefined, OUTPUT_BUFFER_TOO_SMALL, NULL);
mSignalledError = true;