summaryrefslogtreecommitdiffstats
path: root/include/ndk/NdkMediaCodec.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ndk/NdkMediaCodec.h')
-rw-r--r--include/ndk/NdkMediaCodec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ndk/NdkMediaCodec.h b/include/ndk/NdkMediaCodec.h
index 5067073..73ece1b 100644
--- a/include/ndk/NdkMediaCodec.h
+++ b/include/ndk/NdkMediaCodec.h
@@ -79,7 +79,7 @@ int AMediaCodec_delete(AMediaCodec*);
/**
* Configure the codec. For decoding you would typically get the format from an extractor.
*/
-int AMediaCodec_configure(AMediaCodec*, AMediaFormat *format, ANativeWindow* surface); // TODO: other args
+int AMediaCodec_configure(AMediaCodec*, const AMediaFormat* format, ANativeWindow* surface); // TODO: other args
/**
* Start the codec. A codec must be configured before it can be started, and must be started