[FFmpeg-cvslog] avformat/hlsenc: add const for filename argument
Limin Wang
git at videolan.org
Wed Sep 29 13:13:48 EEST 2021
ffmpeg | branch: master | Limin Wang <lance.lmwang at gmail.com> | Fri Aug 20 21:08:17 2021 +0800| [0f5e1877ba36feb876ec8eb0d0eb14114ebc9b3a] | committer: Limin Wang
avformat/hlsenc: add const for filename argument
Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0f5e1877ba36feb876ec8eb0d0eb14114ebc9b3a
---
libavformat/hlsenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index 7c37bc50b9..98608a834a 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -281,7 +281,7 @@ static int strftime_expand(const char *fmt, char **dest)
return r;
}
-static int hlsenc_io_open(AVFormatContext *s, AVIOContext **pb, char *filename,
+static int hlsenc_io_open(AVFormatContext *s, AVIOContext **pb, const char *filename,
AVDictionary **options)
{
HLSContext *hls = s->priv_data;
More information about the ffmpeg-cvslog
mailing list