[FFmpeg-cvslog] lavfi/apad: switch to AVOption-based system
Matthieu Bouron
git at videolan.org
Thu Apr 11 01:58:08 CEST 2013
ffmpeg | branch: master | Matthieu Bouron <matthieu.bouron at gmail.com> | Thu Apr 11 01:31:08 2013 +0200| [a5ce5ac9fb49f156c30524c466cd8a990d3830f1] | committer: Matthieu Bouron
lavfi/apad: switch to AVOption-based system
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a5ce5ac9fb49f156c30524c466cd8a990d3830f1
---
libavfilter/af_apad.c | 3 ---
libavfilter/avfilter.c | 1 +
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/libavfilter/af_apad.c b/libavfilter/af_apad.c
index 3c972e9..8c8690e 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 ff5b1fb..0b4fcb3 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" ) ||
More information about the ffmpeg-cvslog
mailing list