summaryrefslogtreecommitdiff
path: root/libavfilter/vf_freezedetect.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vf_freezedetect.c')
-rw-r--r--libavfilter/vf_freezedetect.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavfilter/vf_freezedetect.c b/libavfilter/vf_freezedetect.c
index 39d712d21e..152ffdbe30 100644
--- a/libavfilter/vf_freezedetect.c
+++ b/libavfilter/vf_freezedetect.c
@@ -207,7 +207,6 @@ static const AVFilterPad freezedetect_inputs[] = {
.type = AVMEDIA_TYPE_VIDEO,
.config_props = config_input,
},
- { NULL }
};
static const AVFilterPad freezedetect_outputs[] = {
@@ -215,7 +214,6 @@ static const AVFilterPad freezedetect_outputs[] = {
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
},
- { NULL }
};
const AVFilter ff_vf_freezedetect = {
@@ -225,7 +223,7 @@ const AVFilter ff_vf_freezedetect = {
.priv_class = &freezedetect_class,
.uninit = uninit,
.query_formats = query_formats,
- .inputs = freezedetect_inputs,
- .outputs = freezedetect_outputs,
+ FILTER_INPUTS(freezedetect_inputs),
+ FILTER_OUTPUTS(freezedetect_outputs),
.activate = activate,
};