diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c index e36cfa2c00..994eea3c0c 100644 --- a/libavfilter/vf_drawtext.c +++ b/libavfilter/vf_drawtext.c @@ -219,11 +219,10 @@ static const AVClass drawtext_class = { #define FT_ERRORDEF(e, v, s) { (e), (s) }, #define FT_ERROR_END_LIST { 0, NULL } }; -struct ft_error -{ +static struct ft_error { int err; const char *err_msg; -} static ft_errors[] = +} ft_errors[] = #include FT_ERRORS_H #define FT_ERRMSG(e) ft_errors[e].err_msg