avutil/avstring: make const tables static const
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 11 Aug 2013 14:50:58 +0000 (16:50 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 11 Aug 2013 14:50:58 +0000 (16:50 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/avstring.c

index cf9be2a..eed58fa 100644 (file)
@@ -312,7 +312,7 @@ int av_isxdigit(int c)
 int main(void)
 {
     int i;
-    const char *strings[] = {
+    static const char * const strings[] = {
         "''",
         "",
         ":",