changeset 30959:115ad4cff82f

Mark vf_size_preset_fields m_option_t array as const.
author diego
date Sun, 04 Apr 2010 16:15:08 +0000
parents d05a77bed63f
children 7eda1e1ca6f1
files libmpcodecs/vf_scale.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_scale.c	Sun Apr 04 16:12:23 2010 +0000
+++ b/libmpcodecs/vf_scale.c	Sun Apr 04 16:15:08 2010 +0000
@@ -670,7 +670,7 @@
 };
 
 #define ST_OFF(f) M_ST_OFF(struct size_preset,f)
-static m_option_t vf_size_preset_fields[] = {
+static const m_option_t vf_size_preset_fields[] = {
   {"w", ST_OFF(w), CONF_TYPE_INT, M_OPT_MIN,1 ,0, NULL},
   {"h", ST_OFF(h), CONF_TYPE_INT, M_OPT_MIN,1 ,0, NULL},
   { NULL, NULL, 0, 0, 0, 0,  NULL }