summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf_eq.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs/vf_eq.c')
-rw-r--r--libmpcodecs/vf_eq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/vf_eq.c b/libmpcodecs/vf_eq.c
index d6bf1b001e..0b65720849 100644
--- a/libmpcodecs/vf_eq.c
+++ b/libmpcodecs/vf_eq.c
@@ -223,13 +223,13 @@ static int open(vf_instance_t *vf, char* args)
}
#define ST_OFF(f) M_ST_OFF(struct vf_priv_s,f)
-static m_option_t vf_opts_fields[] = {
+static const m_option_t vf_opts_fields[] = {
{"brightness", ST_OFF(brightness), CONF_TYPE_INT, M_OPT_RANGE,-100 ,100, NULL},
{"contrast", ST_OFF(contrast), CONF_TYPE_INT, M_OPT_RANGE,-100 ,100, NULL},
{ NULL, NULL, 0, 0, 0, 0, NULL }
};
-static m_struct_t vf_opts = {
+static const m_struct_t vf_opts = {
"eq",
sizeof(struct vf_priv_s),
&vf_priv_dflt,