diff options
author | 2008-04-26 16:35:40 +0300 | |
---|---|---|
committer | 2008-04-26 16:35:40 +0300 | |
commit | 05ad815133fcb0ade9a1040069dedba1abf9d6f0 (patch) | |
tree | cead166eb1f9fe7f1be9c0de374e0f93f8cf2e56 /libmpcodecs/vf_format.c | |
parent | 37e1edee352afb6d1b212403a84827aa6072943a (diff) |
Mark some constant symbols as such
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 7cfb80dffd..1a2fa5ce20 100644 --- a/libmpcodecs/vf_format.c +++ b/libmpcodecs/vf_format.c @@ -74,12 +74,12 @@ static int 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, |