diff options
author | Diego Biurrun <diego@biurrun.de> | 2015-11-11 17:38:43 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-05-05 10:48:34 +0200 |
commit | 5afb94c817abffad030c6b94d7003dca8aace3d5 (patch) | |
tree | 517222058bab9a1b2ba41abd4a38280388dbf57a /libavformat/hls.c | |
parent | 1f1ad8ace040a08edc2646ff638ca42a8828779f (diff) | |
download | ffmpeg-5afb94c817abffad030c6b94d7003dca8aace3d5.tar.gz |
Mark read-only tables as static
Diffstat (limited to 'libavformat/hls.c')
-rw-r--r-- | libavformat/hls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/hls.c b/libavformat/hls.c index 8459f12269..3b8e28038d 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -477,7 +477,8 @@ reload: static int save_avio_options(AVFormatContext *s) { HLSContext *c = s->priv_data; - const char *opts[] = { "headers", "user_agent", NULL }, **opt = opts; + static const char *opts[] = { "headers", "user_agent", NULL }; + const char **opt = opts; uint8_t *buf; int ret = 0; |