diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-06-21 09:55:56 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-06-26 15:13:48 +0400 |
commit | a5e8c41c28f907d98d2a739db08f7aef4cbfcf3a (patch) | |
tree | 7587cf82a03773dc7dee2638072ed0cbbc376e08 /libavfilter/af_channelsplit.c | |
parent | fbcaceb1ff797245240ec58ee9cac44a90b8f73a (diff) |
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_channelsplit.c')
-rw-r--r-- | libavfilter/af_channelsplit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_channelsplit.c b/libavfilter/af_channelsplit.c index c9b31fa791..ed134d2885 100644 --- a/libavfilter/af_channelsplit.c +++ b/libavfilter/af_channelsplit.c @@ -52,7 +52,7 @@ static const AVClass channelsplit_class = { .version = LIBAVUTIL_VERSION_INT, }; -static int init(AVFilterContext *ctx, const char *arg, void *opaque) +static int init(AVFilterContext *ctx, const char *arg) { ChannelSplitContext *s = ctx->priv; int nb_channels; |