Commit 3d90f27a authored by Roman Savchenko's avatar Roman Savchenko Committed by Anton Khirnov

avformat_new_stream: make the AVCodec parameter const

Signed-off-by: default avatarAnton Khirnov <>
parent d3cfd7af
......@@ -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.
......@@ -2641,7 +2641,7 @@ void avformat_close_input(AVFormatContext **ps)
AVStream *avformat_new_stream(AVFormatContext *s, AVCodec *c)
AVStream *avformat_new_stream(AVFormatContext *s, const AVCodec *c)
AVStream *st;
int i;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment