summaryrefslogtreecommitdiff
path: root/libavfilter/vf_swaprect.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vf_swaprect.c')
-rw-r--r--libavfilter/vf_swaprect.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/libavfilter/vf_swaprect.c b/libavfilter/vf_swaprect.c
index fad650151f..13ae149afd 100644
--- a/libavfilter/vf_swaprect.c
+++ b/libavfilter/vf_swaprect.c
@@ -237,13 +237,6 @@ static const AVFilterPad inputs[] = {
},
};
-static const AVFilterPad outputs[] = {
- {
- .name = "default",
- .type = AVMEDIA_TYPE_VIDEO,
- },
-};
-
const AVFilter ff_vf_swaprect = {
.name = "swaprect",
.description = NULL_IF_CONFIG_SMALL("Swap 2 rectangular objects in video."),
@@ -251,7 +244,7 @@ const AVFilter ff_vf_swaprect = {
.priv_class = &swaprect_class,
.uninit = uninit,
FILTER_INPUTS(inputs),
- FILTER_OUTPUTS(outputs),
+ FILTER_OUTPUTS(ff_video_default_filterpad),
FILTER_QUERY_FUNC(query_formats),
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC,
.process_command = ff_filter_process_command,