[FFmpeg-cvslog] avformat/mux: Constify validate_codec_tag()

Andreas Rheinhardt git at videolan.org
Thu Oct 27 16:52:36 EEST 2022


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sun Oct 23 14:45:57 2022 +0200| [9aa7397db13e649b3d2d04cdb33920d7a9000d87] | committer: Andreas Rheinhardt

avformat/mux: Constify validate_codec_tag()

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9aa7397db13e649b3d2d04cdb33920d7a9000d87
---

 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;



More information about the ffmpeg-cvslog mailing list