summaryrefslogtreecommitdiff
path: root/libavfilter/settb.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/settb.c')
-rw-r--r--libavfilter/settb.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/libavfilter/settb.c b/libavfilter/settb.c
index c7523436d3..ba58abd9e9 100644
--- a/libavfilter/settb.c
+++ b/libavfilter/settb.c
@@ -165,13 +165,6 @@ static int activate(AVFilterContext *ctx)
DEFINE_OPTIONS(settb, VIDEO);
AVFILTER_DEFINE_CLASS(settb);
-static const AVFilterPad avfilter_vf_settb_inputs[] = {
- {
- .name = "default",
- .type = AVMEDIA_TYPE_VIDEO,
- },
-};
-
static const AVFilterPad avfilter_vf_settb_outputs[] = {
{
.name = "default",
@@ -185,7 +178,7 @@ const AVFilter ff_vf_settb = {
.description = NULL_IF_CONFIG_SMALL("Set timebase for the video output link."),
.priv_size = sizeof(SetTBContext),
.priv_class = &settb_class,
- FILTER_INPUTS(avfilter_vf_settb_inputs),
+ FILTER_INPUTS(ff_video_default_filterpad),
FILTER_OUTPUTS(avfilter_vf_settb_outputs),
.activate = activate,
.flags = AVFILTER_FLAG_METADATA_ONLY,