diff options
Diffstat (limited to 'libmpcodecs/vf_noformat.c')
-rw-r--r-- | libmpcodecs/vf_noformat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/vf_noformat.c b/libmpcodecs/vf_noformat.c index fdca9b4b1e..f92014f88d 100644 --- a/libmpcodecs/vf_noformat.c +++ b/libmpcodecs/vf_noformat.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 = { "noformat", sizeof(struct vf_priv_s), &vf_priv_dflt, |