[FFmpeg-cvslog] vf_drawtext: move "static const" before "struct".

Reimar Döffinger git at videolan.org
Sun Aug 31 10:45:45 CEST 2014


ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Sun Aug 31 10:40:39 2014 +0200| [6d7aa437e1108dd8142ae5b850a00c109f95f07f] | committer: Reimar Döffinger

vf_drawtext: move "static const" before "struct".

This is consistent with all other occurrences.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6d7aa437e1108dd8142ae5b850a00c109f95f07f
---

 libavfilter/vf_drawtext.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c
index 29cdfbb..4fbb6c0 100644
--- a/libavfilter/vf_drawtext.c
+++ b/libavfilter/vf_drawtext.c
@@ -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



More information about the ffmpeg-cvslog mailing list