summaryrefslogtreecommitdiffstats
path: root/options/m_config.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-02-01 16:00:44 +0100
committerwm4 <wm4@nowhere>2020-02-01 16:00:44 +0100
commit66a979bd757f27739158023f44a943a406a59159 (patch)
tree80ae2625faff74ff89429e9ea75c456466b52115 /options/m_config.c
parentc40554295a2445789d47b8c1c13bb8c28ba86c61 (diff)
downloadmpv-66a979bd757f27739158023f44a943a406a59159.tar.bz2
mpv-66a979bd757f27739158023f44a943a406a59159.tar.xz
options: remove unused set_defaults callback
Was only needed for an ancient version of af_lavfrresample, which is gone now.
Diffstat (limited to 'options/m_config.c')
-rw-r--r--options/m_config.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/options/m_config.c b/options/m_config.c
index 00557c5673..385a02ba81 100644
--- a/options/m_config.c
+++ b/options/m_config.c
@@ -508,8 +508,6 @@ static struct m_config *m_config_from_obj_desc(void *talloc_ctx,
struct m_config *c = m_config_new(talloc_ctx, log, root);
talloc_steal(c, root);
c->global = global;
- if (desc->set_defaults && c->global)
- desc->set_defaults(c->global, c->optstruct);
return c;
}