summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorRoman Savchenko <gmstima@gmail.com>2014-07-08 08:24:09 +0000
committerAnton Khirnov <anton@khirnov.net>2014-07-08 08:24:27 +0000
commit3d90f27ad5843ccd63d34fd6da4d4bff212c1bfe (patch)
treedfa787ab5dbbe956ea9ef313ce745388daedfccd /libavformat/avformat.h
parentd3cfd7aff86ee3d449ca68aba21d67b9b2136a9b (diff)
avformat_new_stream: make the AVCodec parameter const
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index ac4cd31157..d5736dc5dc 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -1332,7 +1332,7 @@ const AVClass *avformat_get_class(void);
*
* @return newly created stream or NULL on error.
*/
-AVStream *avformat_new_stream(AVFormatContext *s, AVCodec *c);
+AVStream *avformat_new_stream(AVFormatContext *s, const AVCodec *c);
/**
* Get side information from stream.