aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/avfilter.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-01-06 15:19:53 +0100
committerAnton Khirnov <anton@khirnov.net>2023-01-10 11:52:02 +0100
commita7b1b4bc2324ceda830b273552014805192f574a (patch)
tree37013054871df6123902c6351ac7bcde64b85d6c /libavfilter/avfilter.c
parent018a8b9dc317d25ae0789109f2dde397aa368e76 (diff)
downloadffmpeg-a7b1b4bc2324ceda830b273552014805192f574a.tar.gz
lavfi: remove AVFilter.init_dict()
Nothing uses it anymore. All options on all filters can now be set with normal AVOptions mechanisms, such as av_opt_set*().
Diffstat (limited to 'libavfilter/avfilter.c')
-rw-r--r--libavfilter/avfilter.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index cc5505e65b..e5dd0cfdb0 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -912,8 +912,6 @@ int avfilter_init_dict(AVFilterContext *ctx, AVDictionary **options)
if (ctx->filter->init)
ret = ctx->filter->init(ctx);
- else if (ctx->filter->init_dict)
- ret = ctx->filter->init_dict(ctx, options);
if (ret < 0)
return ret;