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/vf_frei0r.c | |
parent | fbcaceb1ff797245240ec58ee9cac44a90b8f73a (diff) | |
download | ffmpeg-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/vf_frei0r.c')
-rw-r--r-- | libavfilter/vf_frei0r.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_frei0r.c b/libavfilter/vf_frei0r.c index 54881571af..38cac274a1 100644 --- a/libavfilter/vf_frei0r.c +++ b/libavfilter/vf_frei0r.c @@ -278,7 +278,7 @@ static av_cold int frei0r_init(AVFilterContext *ctx, return 0; } -static av_cold int filter_init(AVFilterContext *ctx, const char *args, void *opaque) +static av_cold int filter_init(AVFilterContext *ctx, const char *args) { Frei0rContext *frei0r = ctx->priv; char dl_name[1024], c; @@ -381,7 +381,7 @@ AVFilter avfilter_vf_frei0r = { { .name = NULL}}, }; -static av_cold int source_init(AVFilterContext *ctx, const char *args, void *opaque) +static av_cold int source_init(AVFilterContext *ctx, const char *args) { Frei0rContext *frei0r = ctx->priv; char dl_name[1024], c; |