summaryrefslogtreecommitdiff
path: root/libavfilter/vf_hysteresis.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vf_hysteresis.c')
-rw-r--r--libavfilter/vf_hysteresis.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavfilter/vf_hysteresis.c b/libavfilter/vf_hysteresis.c
index 12025f9eb6..cbbee2691b 100644
--- a/libavfilter/vf_hysteresis.c
+++ b/libavfilter/vf_hysteresis.c
@@ -362,7 +362,6 @@ static const AVFilterPad hysteresis_inputs[] = {
.name = "alt",
.type = AVMEDIA_TYPE_VIDEO,
},
- { NULL }
};
static const AVFilterPad hysteresis_outputs[] = {
@@ -371,7 +370,6 @@ static const AVFilterPad hysteresis_outputs[] = {
.type = AVMEDIA_TYPE_VIDEO,
.config_props = config_output,
},
- { NULL }
};
const AVFilter ff_vf_hysteresis = {
@@ -382,8 +380,8 @@ const AVFilter ff_vf_hysteresis = {
.uninit = uninit,
.query_formats = query_formats,
.activate = activate,
- .inputs = hysteresis_inputs,
- .outputs = hysteresis_outputs,
+ FILTER_INPUTS(hysteresis_inputs),
+ FILTER_OUTPUTS(hysteresis_outputs),
.priv_class = &hysteresis_class,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
};