summaryrefslogtreecommitdiff
path: root/libavfilter/vf_vmafmotion.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vf_vmafmotion.c')
-rw-r--r--libavfilter/vf_vmafmotion.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavfilter/vf_vmafmotion.c b/libavfilter/vf_vmafmotion.c
index 454ebb8afa..67cc012b18 100644
--- a/libavfilter/vf_vmafmotion.c
+++ b/libavfilter/vf_vmafmotion.c
@@ -347,7 +347,6 @@ static const AVFilterPad vmafmotion_inputs[] = {
.filter_frame = filter_frame,
.config_props = config_input_ref,
},
- { NULL }
};
static const AVFilterPad vmafmotion_outputs[] = {
@@ -355,7 +354,6 @@ static const AVFilterPad vmafmotion_outputs[] = {
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
},
- { NULL }
};
const AVFilter ff_vf_vmafmotion = {
@@ -366,6 +364,6 @@ const AVFilter ff_vf_vmafmotion = {
.query_formats = query_formats,
.priv_size = sizeof(VMAFMotionContext),
.priv_class = &vmafmotion_class,
- .inputs = vmafmotion_inputs,
- .outputs = vmafmotion_outputs,
+ FILTER_INPUTS(vmafmotion_inputs),
+ FILTER_OUTPUTS(vmafmotion_outputs),
};