From 08aaabe87960c04ecac180db1fe88b5a7bc2ed3b Mon Sep 17 00:00:00 2001 From: Marco Nelissen Date: Tue, 6 May 2014 16:08:19 -0700 Subject: Add NDK version of MediaMuxer and add some constness here and there. Change-Id: Ib3caa8310691e8f27aaa1afcfaec0b384513d4f1 --- media/ndk/NdkMediaCodec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'media/ndk/NdkMediaCodec.cpp') 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 nativeFormat; AMediaFormat_getFormat(format, &nativeFormat); ALOGV("configure with format: %s", nativeFormat->debugString(0).c_str()); -- cgit v1.1