diff options
author | wm4 <wm4@nowhere> | 2013-12-05 22:55:09 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-05 22:58:53 +0100 |
commit | e3809e5b52619692ba91fcd3e857cbf335f43d1a (patch) | |
tree | e5176491aca070b09ab72be6e8daeb10410556ef /video/filter/vf_sub.c | |
parent | 4904df42e930043e3a717c5edc44771645b0e2e9 (diff) | |
download | mpv-e3809e5b52619692ba91fcd3e857cbf335f43d1a.tar.bz2 mpv-e3809e5b52619692ba91fcd3e857cbf335f43d1a.tar.xz |
vf_sub, vf_dlopen: default struct is not needed
Diffstat (limited to 'video/filter/vf_sub.c')
-rw-r--r-- | video/filter/vf_sub.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/video/filter/vf_sub.c b/video/filter/vf_sub.c index 643339c4eb..34f22e02ce 100644 --- a/video/filter/vf_sub.c +++ b/video/filter/vf_sub.c @@ -42,15 +42,13 @@ #include "mpvcore/m_option.h" -static const struct vf_priv_s { +struct vf_priv_s { int opt_top_margin, opt_bottom_margin; int outh, outw; struct osd_state *osd; struct mp_osd_res dim; -} vf_priv_dflt = { - 0 }; static int config(struct vf_instance *vf, @@ -150,6 +148,5 @@ const vf_info_t vf_info_sub = { .name = "sub", .open = vf_open, .priv_size = sizeof(struct vf_priv_s), - .priv_defaults = &vf_priv_dflt, .options = vf_opts_fields, }; |