summaryrefslogtreecommitdiff
path: root/libavfilter/vf_deshake.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vf_deshake.c')
-rw-r--r--libavfilter/vf_deshake.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavfilter/vf_deshake.c b/libavfilter/vf_deshake.c
index 7794eecc8d..4d3d950191 100644
--- a/libavfilter/vf_deshake.c
+++ b/libavfilter/vf_deshake.c
@@ -537,7 +537,6 @@ static const AVFilterPad deshake_inputs[] = {
.filter_frame = filter_frame,
.config_props = config_props,
},
- { NULL }
};
static const AVFilterPad deshake_outputs[] = {
@@ -545,7 +544,6 @@ static const AVFilterPad deshake_outputs[] = {
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
},
- { NULL }
};
const AVFilter ff_vf_deshake = {
@@ -555,7 +553,7 @@ const AVFilter ff_vf_deshake = {
.init = init,
.uninit = uninit,
.query_formats = query_formats,
- .inputs = deshake_inputs,
- .outputs = deshake_outputs,
+ FILTER_INPUTS(deshake_inputs),
+ FILTER_OUTPUTS(deshake_outputs),
.priv_class = &deshake_class,
};