summaryrefslogtreecommitdiff
path: root/libavfilter/vf_zscale.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-13 18:22:30 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-19 04:48:58 +0200
commit73a59ed1cb766cf39a3bebaa8d9945b26b9b198c (patch)
tree2d5ffa8120b75790389bb89983ab66fe79a049db /libavfilter/vf_zscale.c
parente424d1f557271d506336345b9b3da0a20ef3eaf3 (diff)
downloadffmpeg-73a59ed1cb766cf39a3bebaa8d9945b26b9b198c.tar.gz
avfilter/vf_zscale: Use init instead of init_dict
The AVDictionary was unused. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/vf_zscale.c')
-rw-r--r--libavfilter/vf_zscale.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_zscale.c b/libavfilter/vf_zscale.c
index 80c917e8c0..495545fa52 100644
--- a/libavfilter/vf_zscale.c
+++ b/libavfilter/vf_zscale.c
@@ -128,7 +128,7 @@ typedef struct ZScaleContext {
enum AVChromaLocation in_chromal, out_chromal;
} ZScaleContext;
-static av_cold int init_dict(AVFilterContext *ctx, AVDictionary **opts)
+static av_cold int init(AVFilterContext *ctx)
{
ZScaleContext *s = ctx->priv;
int ret;
@@ -938,7 +938,7 @@ static const AVFilterPad avfilter_vf_zscale_outputs[] = {
const AVFilter ff_vf_zscale = {
.name = "zscale",
.description = NULL_IF_CONFIG_SMALL("Apply resizing, colorspace and bit depth conversion."),
- .init_dict = init_dict,
+ .init = init,
.query_formats = query_formats,
.priv_size = sizeof(ZScaleContext),
.priv_class = &zscale_class,