1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-11-29 05:57:37 +02:00

avformat_new_stream: make the AVCodec parameter const

Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
Roman Savchenko
2014-07-08 08:24:09 +00:00
committed by Anton Khirnov
parent d3cfd7aff8
commit 3d90f27ad5
2 changed files with 2 additions and 2 deletions

View File

@@ -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;