diff options
author | Clément Bœsch <u@pkh.me> | 2016-06-21 22:09:35 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2016-06-21 22:09:35 +0200 |
commit | 8df1dbd7980a6b09c0b6f43299a49e56d19bd1ca (patch) | |
tree | c19d08d53e0243fec0e083c1522bfee93f969fda /libavformat | |
parent | ea80e90e134c8325add9e11eb07a52b0af815deb (diff) | |
parent | 5afb94c817abffad030c6b94d7003dca8aace3d5 (diff) | |
download | ffmpeg-8df1dbd7980a6b09c0b6f43299a49e56d19bd1ca.tar.gz |
Merge commit '5afb94c817abffad030c6b94d7003dca8aace3d5'
* commit '5afb94c817abffad030c6b94d7003dca8aace3d5':
Mark read-only tables as static
Merged-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/hls.c | 2 | ||||
-rw-r--r-- | libavformat/movenc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/hls.c b/libavformat/hls.c index 7953e825bb..b962d67abc 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -1475,7 +1475,7 @@ static int select_cur_seq_no(HLSContext *c, struct playlist *pls) static int save_avio_options(AVFormatContext *s) { HLSContext *c = s->priv_data; - const char *opts[] = { + static const char *opts[] = { "headers", "http_proxy", "user_agent", "user-agent", "cookies", NULL }; const char **opt = opts; uint8_t *buf; diff --git a/libavformat/movenc.c b/libavformat/movenc.c index d4b5dc3931..37f2b5f218 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -4934,7 +4934,7 @@ static int mov_create_chapter_track(AVFormatContext *s, int tracknum) pkt.duration = end - pkt.dts; if ((t = av_dict_get(c->metadata, "title", NULL, 0))) { - const char encd[12] = { + static const char encd[12] = { 0x00, 0x00, 0x00, 0x0C, 'e', 'n', 'c', 'd', 0x00, 0x00, 0x01, 0x00 }; |