avformat/hlsenc: add const for filename argument

Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
Limin Wang 2021-08-20 21:08:17 +08:00
parent 4be3f6d2d2
commit 0f5e1877ba

View File

@ -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;