From 63ba5c5f0504600844f9a9e50b9d7da3b10953f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Wed, 19 Dec 2007 19:29:34 +0100 Subject: Mark more arrays as constant. --- src/post/deinterlace/xine_plugin.c | 4 ++-- src/post/planar/noise.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/post') diff --git a/src/post/deinterlace/xine_plugin.c b/src/post/deinterlace/xine_plugin.c index 68eabba67..6ae2bd96d 100644 --- a/src/post/deinterlace/xine_plugin.c +++ b/src/post/deinterlace/xine_plugin.c @@ -56,8 +56,8 @@ typedef struct post_plugin_deinterlace_s post_plugin_deinterlace_t; #define MAX_NUM_METHODS 30 static const char *enum_methods[MAX_NUM_METHODS]; -static const char *enum_pulldown[] = { "none", "vektor", NULL }; -static const char *enum_framerate[] = { "full", "half_top", "half_bottom", NULL }; +static const char *const enum_pulldown[] = { "none", "vektor", NULL }; +static const char *const enum_framerate[] = { "full", "half_top", "half_bottom", NULL }; static void *help_string; diff --git a/src/post/planar/noise.c b/src/post/planar/noise.c index 57b8618ab..4ca3d62dc 100644 --- a/src/post/planar/noise.c +++ b/src/post/planar/noise.c @@ -318,8 +318,8 @@ typedef struct noise_parameters_s { type, quality, pattern; } noise_parameters_t; -static const char *enum_types[] = {"uniform", "gaussian", NULL}; -static const char *enum_quality[] = {"fixed", "temporal", "averaged temporal", NULL}; +static const char *const enum_types[] = {"uniform", "gaussian", NULL}; +static const char *const enum_quality[] = {"fixed", "temporal", "averaged temporal", NULL}; /* * description of params struct -- cgit v1.2.3