summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2015-10-30 15:02:04 +0100
committerDiego Biurrun <diego@biurrun.de>2016-11-02 10:29:00 +0100
commit85baef4ff1512bcc2544928bfa5f42072903a691 (patch)
treec1bdbf3f2328cb87147f1eef56183b5dc40b2e55 /libavfilter
parent636515c324facaa14ccd8ab0732740a240a31ba9 (diff)
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]
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_drawtext.c5
1 files changed, 2 insertions, 3 deletions
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