aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/af_amix.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-06-21 07:55:56 +0200
committerAnton Khirnov <anton@khirnov.net>2012-06-26 13:13:48 +0200
commita5e8c41c28f907d98d2a739db08f7aef4cbfcf3a (patch)
tree7587cf82a03773dc7dee2638072ed0cbbc376e08 /libavfilter/af_amix.c
parentfbcaceb1ff797245240ec58ee9cac44a90b8f73a (diff)
downloadffmpeg-a5e8c41c28f907d98d2a739db08f7aef4cbfcf3a.tar.gz
lavfi: remove 'opaque' parameter from AVFilter.init()
It is not used in any filters currently and is inherently evil. If passing binary data to filters is required in the future, it should be done with some AVOptions-based system.
Diffstat (limited to 'libavfilter/af_amix.c')
-rw-r--r--libavfilter/af_amix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_amix.c b/libavfilter/af_amix.c
index 4af5f80d57..156799c44a 100644
--- a/libavfilter/af_amix.c
+++ b/libavfilter/af_amix.c
@@ -479,7 +479,7 @@ static void filter_samples(AVFilterLink *inlink, AVFilterBufferRef *buf)
avfilter_unref_buffer(buf);
}
-static int init(AVFilterContext *ctx, const char *args, void *opaque)
+static int init(AVFilterContext *ctx, const char *args)
{
MixContext *s = ctx->priv;
int i, ret;