The AVDictionary was unused.
Signed-off-by: Andreas Rheinhardt <[email protected]>
---
libavfilter/vf_zscale.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavfilter/vf_zscale.c b/libavfilter/vf_zscale.c
index dfea00f9eb..e2715eb8dc 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;
@@ -927,7 +927,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,
--
2.30.2
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".