diff --git a/libavformat/mux.c b/libavformat/mux.c index a7517dae0a..37fe19358d 100644 --- a/libavformat/mux.c +++ b/libavformat/mux.c @@ -144,7 +144,7 @@ error: return ret; } -static int validate_codec_tag(AVFormatContext *s, AVStream *st) +static int validate_codec_tag(const AVFormatContext *s, const AVStream *st) { const AVCodecTag *avctag; enum AVCodecID id = AV_CODEC_ID_NONE;