diff options
author | Roman Savchenko <gmstima@gmail.com> | 2014-07-08 08:24:09 +0000 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-07-08 08:24:27 +0000 |
commit | 3d90f27ad5843ccd63d34fd6da4d4bff212c1bfe (patch) | |
tree | dfa787ab5dbbe956ea9ef313ce745388daedfccd /libavformat/utils.c | |
parent | d3cfd7aff86ee3d449ca68aba21d67b9b2136a9b (diff) | |
download | ffmpeg-3d90f27ad5843ccd63d34fd6da4d4bff212c1bfe.tar.gz |
avformat_new_stream: make the AVCodec parameter const
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 133822b368..7a054afd3b 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2641,7 +2641,7 @@ void avformat_close_input(AVFormatContext **ps) avio_close(pb); } -AVStream *avformat_new_stream(AVFormatContext *s, AVCodec *c) +AVStream *avformat_new_stream(AVFormatContext *s, const AVCodec *c) { AVStream *st; int i; |