[FFmpeg-cvslog] vf_drawtext: Move static keyword to beginning of variable declaration
Diego Biurrun
git at videolan.org
Wed Mar 29 15:27:48 EEST 2017
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Fri Oct 30 15:02:04 2015 +0100| [85baef4ff1512bcc2544928bfa5f42072903a691] | committer: 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]
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=85baef4ff1512bcc2544928bfa5f42072903a691
---
libavfilter/vf_drawtext.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c
index e36cfa2..994eea3 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
More information about the ffmpeg-cvslog
mailing list