Unified · Split
| @@ -103,7 +103,7 @@ static const AVOption options[] = { · 102 unmodified lines | |||
| 103 | { NULL }, | 103 | { NULL }, |
| 104 | }; | 104 | }; |
| 105 | 105 | ||
| 106 | static av_cold int init(AVFilterContext *ctx, const char *args) | 106 | static av_cold int init(AVFilterContext *ctx) |
| 107 | { | 107 | { |
| 108 | TestSourceContext *test = ctx->priv; | 108 | TestSourceContext *test = ctx->priv; |
| 109 | int ret = 0; | 109 | int ret = 0; |
| @@ -218,7 +218,7 @@ static av_cold int color_init(AVFilterContext *ctx, const char *args) · 108 unmodified lines | |||
| 218 | TestSourceContext *test = ctx->priv; | 218 | TestSourceContext *test = ctx->priv; |
| 219 | test->fill_picture_fn = color_fill_picture; | 219 | test->fill_picture_fn = color_fill_picture; |
| 220 | test->draw_once = 1; | 220 | test->draw_once = 1; |
| 221 | return init(ctx, NULL); | 221 | return init(ctx); |
| 222 | } | 222 | } |
| 223 | 223 | ||
| 224 | static int color_query_formats(AVFilterContext *ctx) | 224 | static int color_query_formats(AVFilterContext *ctx) |
| @@ -287,7 +287,7 @@ static av_cold int nullsrc_init(AVFilterContext *ctx, const char *args) · 62 unmodified lines | |||
| 287 | TestSourceContext *test = ctx->priv; | 287 | TestSourceContext *test = ctx->priv; |
| 288 | 288 | ||
| 289 | test->fill_picture_fn = nullsrc_fill_picture; | 289 | test->fill_picture_fn = nullsrc_fill_picture; |
| 290 | return init(ctx, NULL); | 290 | return init(ctx); |
| 291 | } | 291 | } |
| 292 | 292 | ||
| 293 | static const AVFilterPad nullsrc_outputs[] = { | 293 | static const AVFilterPad nullsrc_outputs[] = { |
| @@ -505,7 +505,7 @@ static av_cold int test_init(AVFilterContext *ctx, const char *args) · 211 unmodified lines | |||
| 505 | TestSourceContext *test = ctx->priv; | 505 | TestSourceContext *test = ctx->priv; |
| 506 | 506 | ||
| 507 | test->fill_picture_fn = test_fill_picture; | 507 | test->fill_picture_fn = test_fill_picture; |
| 508 | return init(ctx, NULL); | 508 | return init(ctx); |
| 509 | } | 509 | } |
| 510 | 510 | ||
| 511 | static int test_query_formats(AVFilterContext *ctx) | 511 | static int test_query_formats(AVFilterContext *ctx) |
| @@ -610,7 +610,7 @@ static av_cold int rgbtest_init(AVFilterContext *ctx, const char *args) · 98 unmodified lines | |||
| 610 | 610 | ||
| 611 | test->draw_once = 1; | 611 | test->draw_once = 1; |
| 612 | test->fill_picture_fn = rgbtest_fill_picture; | 612 | test->fill_picture_fn = rgbtest_fill_picture; |
| 613 | return init(ctx, NULL); | 613 | return init(ctx); |
| 614 | } | 614 | } |
| 615 | 615 | ||
| 616 | static int rgbtest_query_formats(AVFilterContext *ctx) | 616 | static int rgbtest_query_formats(AVFilterContext *ctx) |
| @@ -760,7 +760,7 @@ static av_cold int smptebars_init(AVFilterContext *ctx, const char *args) · 143 unmodified lines | |||
| 760 | 760 | ||
| 761 | test->fill_picture_fn = smptebars_fill_picture; | 761 | test->fill_picture_fn = smptebars_fill_picture; |
| 762 | test->draw_once = 1; | 762 | test->draw_once = 1; |
| 763 | return init(ctx, args); | 763 | return init(ctx); |
| 764 | } | 764 | } |
| 765 | 765 | ||
| 766 | static int smptebars_query_formats(AVFilterContext *ctx) | 766 | static int smptebars_query_formats(AVFilterContext *ctx) |