[FFmpeg-cvslog] lavfi/testsrc: remove useless args/NULL passing.
Clément Bœsch
git at videolan.org
Thu Apr 11 14:41:41 CEST 2013
ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Thu Apr 11 14:35:02 2013 +0200| [389eb0a919954e6c91dbc47a5aefc40edbd84b25] | committer: Clément Bœsch
lavfi/testsrc: remove useless args/NULL passing.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=389eb0a919954e6c91dbc47a5aefc40edbd84b25
---
libavfilter/vsrc_testsrc.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/libavfilter/vsrc_testsrc.c b/libavfilter/vsrc_testsrc.c
index 6d4461d..7ae256d 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)
More information about the ffmpeg-cvslog
mailing list