summaryrefslogtreecommitdiffstats
path: root/media/ndk/NdkMediaCodec.cpp
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2014-05-06 16:08:19 -0700
committerMarco Nelissen <marcone@google.com>2014-05-07 09:57:08 -0700
commit08aaabe87960c04ecac180db1fe88b5a7bc2ed3b (patch)
tree740a80ccc357b0a138445b2728c32ee9762db745 /media/ndk/NdkMediaCodec.cpp
parent8e085cbeccb1138d52a0a423af02e6ab41b4fee4 (diff)
downloadframeworks_av-08aaabe87960c04ecac180db1fe88b5a7bc2ed3b.zip
frameworks_av-08aaabe87960c04ecac180db1fe88b5a7bc2ed3b.tar.gz
frameworks_av-08aaabe87960c04ecac180db1fe88b5a7bc2ed3b.tar.bz2
Add NDK version of MediaMuxer
and add some constness here and there. Change-Id: Ib3caa8310691e8f27aaa1afcfaec0b384513d4f1
Diffstat (limited to 'media/ndk/NdkMediaCodec.cpp')
-rw-r--r--media/ndk/NdkMediaCodec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/ndk/NdkMediaCodec.cpp b/media/ndk/NdkMediaCodec.cpp
index 5412b9b..e7f009e 100644
--- a/media/ndk/NdkMediaCodec.cpp
+++ b/media/ndk/NdkMediaCodec.cpp
@@ -115,7 +115,7 @@ int AMediaCodec_delete(AMediaCodec *mData) {
return OK;
}
-int AMediaCodec_configure(AMediaCodec *mData, AMediaFormat *format, ANativeWindow* window) {
+int AMediaCodec_configure(AMediaCodec *mData, const AMediaFormat* format, ANativeWindow* window) {
sp<AMessage> nativeFormat;
AMediaFormat_getFormat(format, &nativeFormat);
ALOGV("configure with format: %s", nativeFormat->debugString(0).c_str());