summaryrefslogtreecommitdiff
path: root/libavfilter/f_select.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/f_select.c')
-rw-r--r--libavfilter/f_select.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavfilter/f_select.c b/libavfilter/f_select.c
index 786b5e1686..acf713cb0e 100644
--- a/libavfilter/f_select.c
+++ b/libavfilter/f_select.c
@@ -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) {