From 3d90f27ad5843ccd63d34fd6da4d4bff212c1bfe Mon Sep 17 00:00:00 2001 From: Roman Savchenko Date: Tue, 8 Jul 2014 08:24:09 +0000 Subject: avformat_new_stream: make the AVCodec parameter const Signed-off-by: Anton Khirnov --- libavformat/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/utils.c') 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; -- cgit v1.2.3