Commit e12cfd04 authored by Paul B Mahol's avatar Paul B Mahol

lavf: const correctness for avformat_new_stream

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent e3ba817b
......@@ -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);
......
......@@ -3101,7 +3101,7 @@ AVStream *av_new_stream(AVFormatContext *s, int id)
}
#endif
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