diff options
Diffstat (limited to 'libavfilter/vf_negate.c')
-rw-r--r-- | libavfilter/vf_negate.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libavfilter/vf_negate.c b/libavfilter/vf_negate.c index d782e63d3a..87cf908fd5 100644 --- a/libavfilter/vf_negate.c +++ b/libavfilter/vf_negate.c @@ -355,20 +355,13 @@ static const AVFilterPad inputs[] = { }, }; -static const AVFilterPad outputs[] = { - { - .name = "default", - .type = AVMEDIA_TYPE_VIDEO, - }, -}; - const AVFilter ff_vf_negate = { .name = "negate", .description = NULL_IF_CONFIG_SMALL("Negate input video."), .priv_size = sizeof(NegateContext), .priv_class = &negate_class, FILTER_INPUTS(inputs), - FILTER_OUTPUTS(outputs), + FILTER_OUTPUTS(ff_video_default_filterpad), FILTER_PIXFMTS_ARRAY(pix_fmts), .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC | AVFILTER_FLAG_SLICE_THREADS, .process_command = process_command, |