From 5afb94c817abffad030c6b94d7003dca8aace3d5 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 11 Nov 2015 17:38:43 +0100 Subject: Mark read-only tables as static --- libavformat/hls.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavformat/hls.c') 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; -- cgit v1.2.3