{ NULL },
};
-static av_cold int init(AVFilterContext *ctx, const char *args)
+static av_cold int init(AVFilterContext *ctx)
{
TestSourceContext *test = ctx->priv;
int ret = 0;
TestSourceContext *test = ctx->priv;
test->fill_picture_fn = color_fill_picture;
test->draw_once = 1;
- return init(ctx, NULL);
+ return init(ctx);
}
static int color_query_formats(AVFilterContext *ctx)
TestSourceContext *test = ctx->priv;
test->fill_picture_fn = nullsrc_fill_picture;
- return init(ctx, NULL);
+ return init(ctx);
}
static const AVFilterPad nullsrc_outputs[] = {
TestSourceContext *test = ctx->priv;
test->fill_picture_fn = test_fill_picture;
- return init(ctx, NULL);
+ return init(ctx);
}
static int test_query_formats(AVFilterContext *ctx)
test->draw_once = 1;
test->fill_picture_fn = rgbtest_fill_picture;
- return init(ctx, NULL);
+ return init(ctx);
}
static int rgbtest_query_formats(AVFilterContext *ctx)
test->fill_picture_fn = smptebars_fill_picture;
test->draw_once = 1;
- return init(ctx, args);
+ return init(ctx);
}
static int smptebars_query_formats(AVFilterContext *ctx)