]> git.sesse.net Git - ffmpeg/commitdiff
movenc: mark astronomical_body const string as static
authorClément Bœsch <u@pkh.me>
Sat, 25 Jun 2016 08:30:28 +0000 (10:30 +0200)
committerClément Bœsch <u@pkh.me>
Sat, 25 Jun 2016 08:30:28 +0000 (10:30 +0200)
libavformat/movenc.c

index 693851e1532e86091549612101dde734b74f9184..eb6d82db70b0fd7c97c8a48db3d57c5656a7acb4 100644 (file)
@@ -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;