You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-23 21:54:53 +02:00
lavfi: remove now unused args parameter from AVFilter.init and init_opaque
This is mostly automated global search and replace The deprecated aconvert filter is disabled, if it still has users it should be updated Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -139,7 +139,7 @@ typedef struct {
|
||||
} SelectContext;
|
||||
|
||||
|
||||
static av_cold int init(AVFilterContext *ctx, const char *args, const AVClass *class)
|
||||
static av_cold int init(AVFilterContext *ctx)
|
||||
{
|
||||
SelectContext *select = ctx->priv;
|
||||
int ret;
|
||||
@@ -399,12 +399,12 @@ static const AVOption aselect_options[] = {
|
||||
};
|
||||
AVFILTER_DEFINE_CLASS(aselect);
|
||||
|
||||
static av_cold int aselect_init(AVFilterContext *ctx, const char *args)
|
||||
static av_cold int aselect_init(AVFilterContext *ctx)
|
||||
{
|
||||
SelectContext *select = ctx->priv;
|
||||
int ret;
|
||||
|
||||
if ((ret = init(ctx, args, &aselect_class)) < 0)
|
||||
if ((ret = init(ctx)) < 0)
|
||||
return ret;
|
||||
|
||||
if (select->do_scene_detect) {
|
||||
@@ -458,12 +458,12 @@ static const AVOption select_options[] = {
|
||||
|
||||
AVFILTER_DEFINE_CLASS(select);
|
||||
|
||||
static av_cold int select_init(AVFilterContext *ctx, const char *args)
|
||||
static av_cold int select_init(AVFilterContext *ctx)
|
||||
{
|
||||
SelectContext *select = ctx->priv;
|
||||
int ret;
|
||||
|
||||
if ((ret = init(ctx, args, &select_class)) < 0)
|
||||
if ((ret = init(ctx)) < 0)
|
||||
return ret;
|
||||
|
||||
if (select->do_scene_detect && !CONFIG_AVCODEC) {
|
||||
|
||||
Reference in New Issue
Block a user