diff mbox series

[FFmpeg-devel,v2,08/14] avfilter/vf_zscale: Use init instead of init_dict

Message ID AM7PR03MB66604F5AF5D5C88990DA267D8FD99@AM7PR03MB6660.eurprd03.prod.outlook.com
State Accepted
Commit 73a59ed1cb766cf39a3bebaa8d9945b26b9b198c
Headers show
Series [FFmpeg-devel,v2,01/14] avfilter/vsrc_testsrc: Deduplicate AVClasses
Related show

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/make_ppc success Make finished
andriy/make_fate_ppc success Make fate finished

Commit Message

Andreas Rheinhardt Sept. 13, 2021, 11:23 p.m. UTC
The AVDictionary was unused.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavfilter/vf_zscale.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

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,