summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/aacenc/SoftAACEncoder2.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/aacenc/SoftAACEncoder2.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/aacenc/SoftAACEncoder2.cpp')
-rw-r--r--media/libstagefright/codecs/aacenc/SoftAACEncoder2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/libstagefright/codecs/aacenc/SoftAACEncoder2.cpp b/media/libstagefright/codecs/aacenc/SoftAACEncoder2.cpp
index ff2b503..0d07a05 100644
--- a/media/libstagefright/codecs/aacenc/SoftAACEncoder2.cpp
+++ b/media/libstagefright/codecs/aacenc/SoftAACEncoder2.cpp
@@ -308,7 +308,7 @@ status_t SoftAACEncoder2::setAudioParams() {
// We call this whenever sample rate, number of channels or bitrate change
// in reponse to setParameter calls.
- ALOGV("setAudioParams: %lu Hz, %lu channels, %lu bps",
+ ALOGV("setAudioParams: %u Hz, %u channels, %u bps",
mSampleRate, mNumChannels, mBitRate);
if (AACENC_OK != aacEncoder_SetParam(mAACEncoder, AACENC_AOT,
@@ -364,7 +364,7 @@ void SoftAACEncoder2::onQueueFilled(OMX_U32 portIndex) {
OMX_U32 actualBitRate = aacEncoder_GetParam(mAACEncoder, AACENC_BITRATE);
if (mBitRate != actualBitRate) {
- ALOGW("Requested bitrate %lu unsupported, using %lu", mBitRate, actualBitRate);
+ ALOGW("Requested bitrate %u unsupported, using %u", mBitRate, actualBitRate);
}
AACENC_InfoStruct encInfo;