summaryrefslogtreecommitdiff
path: root/libavfilter/f_bench.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/f_bench.c')
-rw-r--r--libavfilter/f_bench.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/libavfilter/f_bench.c b/libavfilter/f_bench.c
index e7d7c5e299..f7098adaf4 100644
--- a/libavfilter/f_bench.c
+++ b/libavfilter/f_bench.c
@@ -96,7 +96,6 @@ static const AVFilterPad bench_inputs[] = {
.type = AVMEDIA_TYPE_VIDEO,
.filter_frame = filter_frame,
},
- { NULL }
};
static const AVFilterPad bench_outputs[] = {
@@ -104,7 +103,6 @@ static const AVFilterPad bench_outputs[] = {
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
},
- { NULL }
};
const AVFilter ff_vf_bench = {
@@ -112,8 +110,8 @@ const AVFilter ff_vf_bench = {
.description = NULL_IF_CONFIG_SMALL("Benchmark part of a filtergraph."),
.priv_size = sizeof(BenchContext),
.init = init,
- .inputs = bench_inputs,
- .outputs = bench_outputs,
+ FILTER_INPUTS(bench_inputs),
+ FILTER_OUTPUTS(bench_outputs),
.priv_class = &bench_class,
};
#endif /* CONFIG_BENCH_FILTER */
@@ -128,7 +126,6 @@ static const AVFilterPad abench_inputs[] = {
.type = AVMEDIA_TYPE_AUDIO,
.filter_frame = filter_frame,
},
- { NULL }
};
static const AVFilterPad abench_outputs[] = {
@@ -136,7 +133,6 @@ static const AVFilterPad abench_outputs[] = {
.name = "default",
.type = AVMEDIA_TYPE_AUDIO,
},
- { NULL }
};
const AVFilter ff_af_abench = {
@@ -144,8 +140,8 @@ const AVFilter ff_af_abench = {
.description = NULL_IF_CONFIG_SMALL("Benchmark part of a filtergraph."),
.priv_size = sizeof(BenchContext),
.init = init,
- .inputs = abench_inputs,
- .outputs = abench_outputs,
+ FILTER_INPUTS(abench_inputs),
+ FILTER_OUTPUTS(abench_outputs),
.priv_class = &abench_class,
};
#endif /* CONFIG_ABENCH_FILTER */