summaryrefslogtreecommitdiff
path: root/libavfilter/avf_showspatial.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/avf_showspatial.c')
-rw-r--r--libavfilter/avf_showspatial.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavfilter/avf_showspatial.c b/libavfilter/avf_showspatial.c
index 3e1d4bd70e..c5af903216 100644
--- a/libavfilter/avf_showspatial.c
+++ b/libavfilter/avf_showspatial.c
@@ -346,7 +346,6 @@ static const AVFilterPad showspatial_inputs[] = {
.name = "default",
.type = AVMEDIA_TYPE_AUDIO,
},
- { NULL }
};
static const AVFilterPad showspatial_outputs[] = {
@@ -355,7 +354,6 @@ static const AVFilterPad showspatial_outputs[] = {
.type = AVMEDIA_TYPE_VIDEO,
.config_props = config_output,
},
- { NULL }
};
const AVFilter ff_avf_showspatial = {
@@ -364,8 +362,8 @@ const AVFilter ff_avf_showspatial = {
.uninit = uninit,
.query_formats = query_formats,
.priv_size = sizeof(ShowSpatialContext),
- .inputs = showspatial_inputs,
- .outputs = showspatial_outputs,
+ FILTER_INPUTS(showspatial_inputs),
+ FILTER_OUTPUTS(showspatial_outputs),
.activate = spatial_activate,
.priv_class = &showspatial_class,
.flags = AVFILTER_FLAG_SLICE_THREADS,