summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/m4v_h263/enc/SoftMPEG4Encoder.cpp
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2014-04-02 10:25:35 -0700
committerGlenn Kasten <gkasten@android.com>2014-04-02 11:45:51 -0700
commit66fe2e9ee30bcb4161bc487ec63d2ae4a05f4051 (patch)
tree4f996c27cafd9ef29e45ba1f3acb05210fbd16e6 /media/libstagefright/codecs/m4v_h263/enc/SoftMPEG4Encoder.cpp
parent08fce45fdb537e135868604522aba15461f516be (diff)
downloadframeworks_av-66fe2e9ee30bcb4161bc487ec63d2ae4a05f4051.zip
frameworks_av-66fe2e9ee30bcb4161bc487ec63d2ae4a05f4051.tar.gz
frameworks_av-66fe2e9ee30bcb4161bc487ec63d2ae4a05f4051.tar.bz2
64-bit: Correction to OMX_U32 and OMX_S32
Change-Id: I9c41bb34c35595ac19a7ab8faaacde8cb4fa9a15
Diffstat (limited to 'media/libstagefright/codecs/m4v_h263/enc/SoftMPEG4Encoder.cpp')
-rw-r--r--media/libstagefright/codecs/m4v_h263/enc/SoftMPEG4Encoder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/libstagefright/codecs/m4v_h263/enc/SoftMPEG4Encoder.cpp b/media/libstagefright/codecs/m4v_h263/enc/SoftMPEG4Encoder.cpp
index e02af90..55352a2 100644
--- a/media/libstagefright/codecs/m4v_h263/enc/SoftMPEG4Encoder.cpp
+++ b/media/libstagefright/codecs/m4v_h263/enc/SoftMPEG4Encoder.cpp
@@ -683,7 +683,7 @@ void SoftMPEG4Encoder::onQueueFilled(OMX_U32 portIndex) {
if (mStoreMetaDataInBuffers) {
if (inHeader->nFilledLen != 8) {
ALOGE("MetaData buffer is wrong size! "
- "(got %lu bytes, expected 8)", inHeader->nFilledLen);
+ "(got %u bytes, expected 8)", inHeader->nFilledLen);
mSignalledError = true;
notify(OMX_EventError, OMX_ErrorUndefined, 0, 0);
return;
@@ -771,7 +771,7 @@ uint8_t *SoftMPEG4Encoder::extractGrallocData(void *data, buffer_handle_t *buffe
status_t res;
if (type != kMetadataBufferTypeGrallocSource) {
ALOGE("Data passed in with metadata mode does not have type "
- "kMetadataBufferTypeGrallocSource (%d), has type %ld instead",
+ "kMetadataBufferTypeGrallocSource (%d), has type %d instead",
kMetadataBufferTypeGrallocSource, type);
return NULL;
}