aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-04-11 14:35:02 +0200
committerClément Bœsch <ubitux@gmail.com>2013-04-11 14:36:50 +0200
commit389eb0a919954e6c91dbc47a5aefc40edbd84b25 (patch)
treeecdf401cb73ea77732355d6bdf1b3409a15bba77
parentdd97736d4f40d85863ac5cbe8830e4e71c64756c (diff)
downloadffmpeg-389eb0a919954e6c91dbc47a5aefc40edbd84b25.tar.gz
lavfi/testsrc: remove useless args/NULL passing.
-rw-r--r--libavfilter/vsrc_testsrc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavfilter/vsrc_testsrc.c b/libavfilter/vsrc_testsrc.c
index 6d4461da75..7ae256d40d 100644
--- a/libavfilter/vsrc_testsrc.c
+++ b/libavfilter/vsrc_testsrc.c
@@ -103,7 +103,7 @@ static const AVOption options[] = {
{ 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;
@@ -218,7 +218,7 @@ static av_cold int color_init(AVFilterContext *ctx, const char *args)
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)
@@ -287,7 +287,7 @@ static av_cold int nullsrc_init(AVFilterContext *ctx, const char *args)
TestSourceContext *test = ctx->priv;
test->fill_picture_fn = nullsrc_fill_picture;
- return init(ctx, NULL);
+ return init(ctx);
}
static const AVFilterPad nullsrc_outputs[] = {
@@ -505,7 +505,7 @@ static av_cold int test_init(AVFilterContext *ctx, const char *args)
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)
@@ -610,7 +610,7 @@ static av_cold int rgbtest_init(AVFilterContext *ctx, const char *args)
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)
@@ -760,7 +760,7 @@ static av_cold int smptebars_init(AVFilterContext *ctx, const char *args)
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)