summaryrefslogtreecommitdiff
path: root/src/post
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-19 19:29:34 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-19 19:29:34 +0100
commit63ba5c5f0504600844f9a9e50b9d7da3b10953f0 (patch)
tree19cd1a4d9780040e8707a9c77cccb7095d2cb6a5 /src/post
parente387e33000e17bda5b1c4e29a545b1cc60618342 (diff)
downloadxine-lib-63ba5c5f0504600844f9a9e50b9d7da3b10953f0.tar.gz
xine-lib-63ba5c5f0504600844f9a9e50b9d7da3b10953f0.tar.bz2
Mark more arrays as constant.
Diffstat (limited to 'src/post')
-rw-r--r--src/post/deinterlace/xine_plugin.c4
-rw-r--r--src/post/planar/noise.c4
2 files changed, 4 insertions, 4 deletions
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