[MPlayer-cvslog] r31001 - trunk/libmpcodecs/vf_scale.c

diego subversion at mplayerhq.hu
Sun Apr 4 18:15:08 CEST 2010


Author: diego
Date: Sun Apr  4 18:15:08 2010
New Revision: 31001

Log:
Mark vf_size_preset_fields m_option_t array as const.

Modified:
   trunk/libmpcodecs/vf_scale.c

Modified: trunk/libmpcodecs/vf_scale.c
==============================================================================
--- trunk/libmpcodecs/vf_scale.c	Sun Apr  4 18:12:23 2010	(r31000)
+++ trunk/libmpcodecs/vf_scale.c	Sun Apr  4 18:15:08 2010	(r31001)
@@ -670,7 +670,7 @@ static const struct size_preset {
 };
 
 #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 }


More information about the MPlayer-cvslog mailing list