diff options
author | Matthieu Bouron <matthieu.bouron@gmail.com> | 2013-04-11 01:31:08 +0200 |
---|---|---|
committer | Matthieu Bouron <matthieu.bouron@gmail.com> | 2013-04-11 01:31:08 +0200 |
commit | a5ce5ac9fb49f156c30524c466cd8a990d3830f1 (patch) | |
tree | 68a407d660e13be483db18ea506d9061c50a5606 | |
parent | 2b17e58163270466a48f1d58bdaecc8e93dffa01 (diff) | |
download | ffmpeg-a5ce5ac9fb49f156c30524c466cd8a990d3830f1.tar.gz |
lavfi/apad: switch to AVOption-based system
-rw-r--r-- | libavfilter/af_apad.c | 3 | ||||
-rw-r--r-- | libavfilter/avfilter.c | 1 |
2 files changed, 1 insertions, 3 deletions
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" ) || |