summaryrefslogtreecommitdiff
path: root/libavfilter/vf_deinterlace_vaapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vf_deinterlace_vaapi.c')
-rw-r--r--libavfilter/vf_deinterlace_vaapi.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavfilter/vf_deinterlace_vaapi.c b/libavfilter/vf_deinterlace_vaapi.c
index fa71947098..5ec830213e 100644
--- a/libavfilter/vf_deinterlace_vaapi.c
+++ b/libavfilter/vf_deinterlace_vaapi.c
@@ -369,7 +369,6 @@ static const AVFilterPad deint_vaapi_inputs[] = {
.filter_frame = &deint_vaapi_filter_frame,
.config_props = &ff_vaapi_vpp_config_input,
},
- { NULL }
};
static const AVFilterPad deint_vaapi_outputs[] = {
@@ -378,7 +377,6 @@ static const AVFilterPad deint_vaapi_outputs[] = {
.type = AVMEDIA_TYPE_VIDEO,
.config_props = &deint_vaapi_config_output,
},
- { NULL }
};
const AVFilter ff_vf_deinterlace_vaapi = {
@@ -388,8 +386,8 @@ const AVFilter ff_vf_deinterlace_vaapi = {
.init = &deint_vaapi_init,
.uninit = &ff_vaapi_vpp_ctx_uninit,
.query_formats = &ff_vaapi_vpp_query_formats,
- .inputs = deint_vaapi_inputs,
- .outputs = deint_vaapi_outputs,
+ FILTER_INPUTS(deint_vaapi_inputs),
+ FILTER_OUTPUTS(deint_vaapi_outputs),
.priv_class = &deint_vaapi_class,
.flags_internal = FF_FILTER_FLAG_HWFRAME_AWARE,
};