[FFmpeg-devel] [PATCH 03/17] avformat/mux: Constify validate_codec_tag()

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Sun Oct 23 22:35:56 EEST 2022


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 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;
-- 
2.34.1



More information about the ffmpeg-devel mailing list