Commit 85baef4f authored by Diego Biurrun's avatar Diego Biurrun

vf_drawtext: Move static keyword to beginning of variable declaration

libavfilter/vf_drawtext.c:226:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration]
parent 636515c3
...@@ -219,11 +219,10 @@ static const AVClass drawtext_class = { ...@@ -219,11 +219,10 @@ static const AVClass drawtext_class = {
#define FT_ERRORDEF(e, v, s) { (e), (s) }, #define FT_ERRORDEF(e, v, s) { (e), (s) },
#define FT_ERROR_END_LIST { 0, NULL } }; #define FT_ERROR_END_LIST { 0, NULL } };
struct ft_error static struct ft_error {
{
int err; int err;
const char *err_msg; const char *err_msg;
} static ft_errors[] = } ft_errors[] =
#include FT_ERRORS_H #include FT_ERRORS_H
#define FT_ERRMSG(e) ft_errors[e].err_msg #define FT_ERRMSG(e) ft_errors[e].err_msg
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment