diff options
Diffstat (limited to 'libavfilter/vf_dnn_classify.c')
-rw-r--r-- | libavfilter/vf_dnn_classify.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libavfilter/vf_dnn_classify.c b/libavfilter/vf_dnn_classify.c index eb8758b265..904067f5f6 100644 --- a/libavfilter/vf_dnn_classify.c +++ b/libavfilter/vf_dnn_classify.c @@ -308,7 +308,6 @@ static const AVFilterPad dnn_classify_inputs[] = { .name = "default", .type = AVMEDIA_TYPE_VIDEO, }, - { NULL } }; static const AVFilterPad dnn_classify_outputs[] = { @@ -316,7 +315,6 @@ static const AVFilterPad dnn_classify_outputs[] = { .name = "default", .type = AVMEDIA_TYPE_VIDEO, }, - { NULL } }; const AVFilter ff_vf_dnn_classify = { @@ -326,8 +324,8 @@ const AVFilter ff_vf_dnn_classify = { .init = dnn_classify_init, .uninit = dnn_classify_uninit, .query_formats = dnn_classify_query_formats, - .inputs = dnn_classify_inputs, - .outputs = dnn_classify_outputs, + FILTER_INPUTS(dnn_classify_inputs), + FILTER_OUTPUTS(dnn_classify_outputs), .priv_class = &dnn_classify_class, .activate = dnn_classify_activate, }; |