summaryrefslogtreecommitdiff
path: root/libavfilter/vf_libvmaf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vf_libvmaf.c')
-rw-r--r--libavfilter/vf_libvmaf.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavfilter/vf_libvmaf.c b/libavfilter/vf_libvmaf.c
index fc8a0183be..d3e9f62e33 100644
--- a/libavfilter/vf_libvmaf.c
+++ b/libavfilter/vf_libvmaf.c
@@ -350,7 +350,6 @@ static const AVFilterPad libvmaf_inputs[] = {
.type = AVMEDIA_TYPE_VIDEO,
.config_props = config_input_ref,
},
- { NULL }
};
static const AVFilterPad libvmaf_outputs[] = {
@@ -359,7 +358,6 @@ static const AVFilterPad libvmaf_outputs[] = {
.type = AVMEDIA_TYPE_VIDEO,
.config_props = config_output,
},
- { NULL }
};
const AVFilter ff_vf_libvmaf = {
@@ -372,6 +370,6 @@ const AVFilter ff_vf_libvmaf = {
.activate = activate,
.priv_size = sizeof(LIBVMAFContext),
.priv_class = &libvmaf_class,
- .inputs = libvmaf_inputs,
- .outputs = libvmaf_outputs,
+ FILTER_INPUTS(libvmaf_inputs),
+ FILTER_OUTPUTS(libvmaf_outputs),
};