diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-07-03 10:09:36 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2017-02-01 10:42:59 +0100 |
commit | fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3 (patch) | |
tree | e9e285e1f4634de77b1657420b5121d109bed249 /libavformat/hls.c | |
parent | b420a27e74750b60d2e064236afb10be06a38ace (diff) | |
download | ffmpeg-fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3.tar.gz |
Mark some arrays that never change as const.
Diffstat (limited to 'libavformat/hls.c')
-rw-r--r-- | libavformat/hls.c | 4 |
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; |