From a5ce5ac9fb49f156c30524c466cd8a990d3830f1 Mon Sep 17 00:00:00 2001 From: Matthieu Bouron Date: Thu, 11 Apr 2013 01:31:08 +0200 Subject: lavfi/apad: switch to AVOption-based system --- libavfilter/af_apad.c | 3 --- libavfilter/avfilter.c | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'libavfilter') diff --git a/libavfilter/af_apad.c b/libavfilter/af_apad.c index 3c972e9d40..8c8690ee7c 100644 --- a/libavfilter/af_apad.c +++ b/libavfilter/af_apad.c @@ -144,8 +144,6 @@ static const AVFilterPad apad_outputs[] = { { NULL }, }; -static const char *const shorthand[] = { NULL }; - AVFilter avfilter_af_apad = { .name = "apad", .description = NULL_IF_CONFIG_SMALL("Pad audio with silence."), @@ -154,5 +152,4 @@ AVFilter avfilter_af_apad = { .inputs = apad_inputs, .outputs = apad_outputs, .priv_class = &apad_class, - .shorthand = shorthand, }; diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index ff5b1fb899..0b4fcb3e57 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -658,6 +658,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque int anton_options = !strcmp(filter->filter->name, "afade" ) || !strcmp(filter->filter->name, "aformat") || + !strcmp(filter->filter->name, "apad" ) || !strcmp(filter->filter->name, "ass") || !strcmp(filter->filter->name, "blackframe") || !strcmp(filter->filter->name, "blend" ) || -- cgit v1.2.3