summaryrefslogtreecommitdiff
path: root/libavfilter/vf_drawtext.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-11-05 14:49:52 +0100
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-11-05 15:37:01 +0100
commitd78473334e9fdf991e354c11e3f7649449ea8791 (patch)
tree3aa35b26fa111e8648ef17b16e6f0858ff84d305 /libavfilter/vf_drawtext.c
parenta010b56ebcaa9933f9febcdf7809b9b437b80276 (diff)
Add const to static arrays where it was forgotten.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavfilter/vf_drawtext.c')
-rw-r--r--libavfilter/vf_drawtext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c
index 7466b704b9..2f309c8b6c 100644
--- a/libavfilter/vf_drawtext.c
+++ b/libavfilter/vf_drawtext.c
@@ -46,7 +46,7 @@
#include FT_FREETYPE_H
#include FT_GLYPH_H
-static const char *var_names[] = {
+static const char * const var_names[] = {
"w", ///< width of the input video
"h", ///< height of the input video
"tw", "text_w", ///< width of the rendered text