From 9aa7397db13e649b3d2d04cdb33920d7a9000d87 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sun, 23 Oct 2022 14:45:57 +0200 Subject: [PATCH] avformat/mux: Constify validate_codec_tag() Signed-off-by: Andreas Rheinhardt --- libavformat/mux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;