diff options
author | 2010-02-26 17:21:06 +0000 | |
---|---|---|
committer | 2010-02-26 17:21:06 +0000 | |
commit | 2ec8252503e00f6f6622011e152952da088fb023 (patch) | |
tree | a92877f5467ea2af5b9133899dff6e47d2ab1bfd /libmpcodecs/vf_format.c | |
parent | cb8796857c8bd851e3b97d729af149e3f003b851 (diff) |
Mark vf_opts/vf_opts_fields structures as const.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30749 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vf_format.c')
-rw-r--r-- | libmpcodecs/vf_format.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/vf_format.c b/libmpcodecs/vf_format.c index 1c0919f69c..fa511e9e79 100644 --- a/libmpcodecs/vf_format.c +++ b/libmpcodecs/vf_format.c @@ -53,12 +53,12 @@ static int vf_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[] = { {"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, |