summaryrefslogtreecommitdiffstats
path: root/libavfilter/avfilter.h
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/avfilter.h
parentfbcaceb1ff797245240ec58ee9cac44a90b8f73a (diff)
downloadffmpeg-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/avfilter.h')
-rw-r--r--libavfilter/avfilter.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index f09f086..b3b32dd 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -456,10 +456,8 @@ typedef struct AVFilter {
/**
* Filter initialization function. Args contains the user-supplied
* parameters. FIXME: maybe an AVOption-based system would be better?
- * opaque is data provided by the code requesting creation of the filter,
- * and is used to pass data to the filter.
*/
- int (*init)(AVFilterContext *ctx, const char *args, void *opaque);
+ int (*init)(AVFilterContext *ctx, const char *args);
/**
* Filter uninitialization function. Should deallocate any memory held
OpenPOWER on IntegriCloud