From 1e9b79b2dbc389051bddeb7975dfab28c0409b57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Sat, 25 Jun 2016 10:30:28 +0200 Subject: [PATCH] movenc: mark astronomical_body const string as static --- libavformat/movenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 693851e153..eb6d82db70 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -2974,7 +2974,7 @@ static int mov_write_loci_tag(AVFormatContext *s, AVIOContext *pb) AVDictionaryEntry *t = get_metadata_lang(s, "location", &lang); const char *ptr, *place = ""; char *end; - const char *astronomical_body = "earth"; + static const char *astronomical_body = "earth"; if (!t) return 0;