diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-06-21 07:55:56 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-06-26 13:13:48 +0200 |
commit | a5e8c41c28f907d98d2a739db08f7aef4cbfcf3a (patch) | |
tree | 7587cf82a03773dc7dee2638072ed0cbbc376e08 /libavfilter/fifo.c | |
parent | fbcaceb1ff797245240ec58ee9cac44a90b8f73a (diff) | |
download | ffmpeg-streaming-a5e8c41c28f907d98d2a739db08f7aef4cbfcf3a.zip ffmpeg-streaming-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/fifo.c')
-rw-r--r-- | libavfilter/fifo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/fifo.c b/libavfilter/fifo.c index 6d28757..40c3796 100644 --- a/libavfilter/fifo.c +++ b/libavfilter/fifo.c @@ -50,7 +50,7 @@ typedef struct { int allocated_samples; ///< number of samples buf_out was allocated for } FifoContext; -static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque) +static av_cold int init(AVFilterContext *ctx, const char *args) { FifoContext *fifo = ctx->priv; fifo->last = &fifo->root; |