Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/hls.c')
-rw-r--r--libavformat/hls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/hls.c b/libavformat/hls.c
index 3b8e28038d..c9da4e30ec 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -477,8 +477,8 @@ reload:
static int save_avio_options(AVFormatContext *s)
{
HLSContext *c = s->priv_data;
- static const char *opts[] = { "headers", "user_agent", NULL };
- const char **opt = opts;
+ static const char * const opts[] = { "headers", "user_agent", NULL };
+ const char * const *opt = opts;
uint8_t *buf;
int ret = 0;