aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/af_volume.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-04-11 02:42:53 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-04-11 02:44:13 +0200
commitae6634da8b81021c15db3048c185a874b2b96505 (patch)
treebf4e5a54703b323bbca59afb0bb4ea43dd00d7f0 /libavfilter/af_volume.c
parent8905a811b79cfda377d2a49f108028d18d5a9799 (diff)
parentb13623e184759f37348b8fdb1276b1bb408f3e59 (diff)
downloadffmpeg-ae6634da8b81021c15db3048c185a874b2b96505.tar.gz
Merge commit 'b13623e184759f37348b8fdb1276b1bb408f3e59'
* commit 'b13623e184759f37348b8fdb1276b1bb408f3e59': af_volume: switch to an AVOptions-based system. Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/af_volume.c')
-rw-r--r--libavfilter/af_volume.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libavfilter/af_volume.c b/libavfilter/af_volume.c
index 0a6504e118..915a4dc197 100644
--- a/libavfilter/af_volume.c
+++ b/libavfilter/af_volume.c
@@ -287,16 +287,13 @@ static const AVFilterPad avfilter_af_volume_outputs[] = {
{ NULL }
};
-static const char *const shorthand[] = { "volume", "precision", NULL };
-
AVFilter avfilter_af_volume = {
.name = "volume",
.description = NULL_IF_CONFIG_SMALL("Change input volume."),
.query_formats = query_formats,
.priv_size = sizeof(VolumeContext),
+ .priv_class = &volume_class,
.init = init,
.inputs = avfilter_af_volume_inputs,
.outputs = avfilter_af_volume_outputs,
- .priv_class = &volume_class,
- .shorthand = shorthand,
};