diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-10-24 14:29:05 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-10-24 17:55:35 +0000 |
commit | e12cfd044c2bae4a099a3b9384b148424858d72b (patch) | |
tree | 4aba9c28ab612423da55051b80bac48095daa77d /libavformat/avformat.h | |
parent | e3ba817b95bbdc7c8aaf83b4a6804d1b49eb4de4 (diff) | |
download | ffmpeg-e12cfd044c2bae4a099a3b9384b148424858d72b.tar.gz |
lavf: const correctness for avformat_new_stream
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index f993dbcff9..3d99518990 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -1311,7 +1311,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); AVProgram *av_new_program(AVFormatContext *s, int id); |