vf_drawtext: move "static const" before "struct".
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 31 Aug 2014 08:40:39 +0000 (10:40 +0200)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 31 Aug 2014 08:41:42 +0000 (10:41 +0200)
This is consistent with all other occurrences.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
libavfilter/vf_drawtext.c

index 29cdfbb..4fbb6c0 100644 (file)
@@ -268,11 +268,11 @@ AVFILTER_DEFINE_CLASS(drawtext);
 #define FT_ERRORDEF(e, v, s) { (e), (s) },
 #define FT_ERROR_END_LIST { 0, NULL } };
 
-struct ft_error
+static const struct ft_error
 {
     int err;
     const char *err_msg;
-} static const ft_errors[] =
+} ft_errors[] =
 #include FT_ERRORS_H
 
 #define FT_ERRMSG(e) ft_errors[e].err_msg