From b0f29db5c2b8d1b7de2ccac815e33090e8c49cff Mon Sep 17 00:00:00 2001 From: Alex Converse Date: Mon, 20 Feb 2012 00:42:33 -0800 Subject: Mark mutable static data const where appropriate. --- libavfilter/vf_drawtext.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libavfilter/vf_drawtext.c') diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c index 5b794dc545..4846716fe0 100644 --- a/libavfilter/vf_drawtext.c +++ b/libavfilter/vf_drawtext.c @@ -49,7 +49,7 @@ #include FT_FREETYPE_H #include FT_GLYPH_H -static const char *var_names[] = { +static const char *const var_names[] = { "E", "PHI", "PI", @@ -64,8 +64,8 @@ static const char *var_names[] = { NULL }; -static const char *fun2_names[] = { - "rand", +static const char *const fun2_names[] = { + "rand" }; static double drand(void *opaque, double min, double max) -- cgit v1.2.3