diff libmpcodecs/vf_delogo.c @ 30707:4d15378da04a

Mark vf_opts/vf_opts_fields structures as const.
author diego
date Fri, 26 Feb 2010 17:21:06 +0000
parents a972c1a4a012
children 8a96d56b01f0
line wrap: on
line diff
--- a/libmpcodecs/vf_delogo.c	Fri Feb 26 17:07:22 2010 +0000
+++ b/libmpcodecs/vf_delogo.c	Fri Feb 26 17:21:06 2010 +0000
@@ -233,7 +233,7 @@
 }
 
 #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[] = {
     { "x", ST_OFF(xoff), CONF_TYPE_INT, 0, 0, 0, NULL },
     { "y", ST_OFF(yoff), CONF_TYPE_INT, 0, 0, 0, NULL },
     { "w", ST_OFF(lw), CONF_TYPE_INT, 0, 0, 0, NULL },
@@ -243,7 +243,7 @@
     { NULL, NULL, 0, 0, 0, 0, NULL }
 };
 
-static m_struct_t vf_opts = {
+static const m_struct_t vf_opts = {
     "delogo",
     sizeof(struct vf_priv_s),
     &vf_priv_dflt,