summaryrefslogtreecommitdiffstats
path: root/video/filter/vf_dlopen.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-05 22:55:09 +0100
committerwm4 <wm4@nowhere>2013-12-05 22:58:53 +0100
commite3809e5b52619692ba91fcd3e857cbf335f43d1a (patch)
treee5176491aca070b09ab72be6e8daeb10410556ef /video/filter/vf_dlopen.c
parent4904df42e930043e3a717c5edc44771645b0e2e9 (diff)
downloadmpv-e3809e5b52619692ba91fcd3e857cbf335f43d1a.tar.bz2
mpv-e3809e5b52619692ba91fcd3e857cbf335f43d1a.tar.xz
vf_sub, vf_dlopen: default struct is not needed
Diffstat (limited to 'video/filter/vf_dlopen.c')
-rw-r--r--video/filter/vf_dlopen.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/video/filter/vf_dlopen.c b/video/filter/vf_dlopen.c
index 5f41c427a9..2378b84674 100644
--- a/video/filter/vf_dlopen.c
+++ b/video/filter/vf_dlopen.c
@@ -44,7 +44,7 @@
# define DLLSymbol(handle, name) dlsym(handle, name)
#endif
-static struct vf_priv_s {
+struct vf_priv_s {
char *cfg_dllname;
int cfg_argc;
char *cfg_argv[16];
@@ -69,7 +69,7 @@ static struct vf_priv_s {
unsigned int outfmt;
int argc;
-} const vf_priv_dflt = {};
+};
struct fmtname {
const char *name;
@@ -379,7 +379,6 @@ const vf_info_t vf_info_dlopen = {
.name = "dlopen",
.open = vf_open,
.priv_size = sizeof(struct vf_priv_s),
- .priv_defaults = &vf_priv_dflt,
.options = vf_opts_fields,
};