Mercurial > mplayer.hg
diff libmpcodecs/vf_format.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 | f19d56a023db |
line wrap: on
line diff
--- a/libmpcodecs/vf_format.c Fri Feb 26 17:07:22 2010 +0000 +++ b/libmpcodecs/vf_format.c Fri Feb 26 17:21:06 2010 +0000 @@ -53,12 +53,12 @@ } #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[] = { {"fmt", ST_OFF(fmt), CONF_TYPE_IMGFMT, 0,0 ,0, NULL}, { NULL, NULL, 0, 0, 0, 0, NULL } }; -static m_struct_t vf_opts = { +static const m_struct_t vf_opts = { "format", sizeof(struct vf_priv_s), &vf_priv_dflt,