summaryrefslogtreecommitdiff
path: root/libavfilter/vf_fieldorder.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/vf_fieldorder.c
parentfbcaceb1ff797245240ec58ee9cac44a90b8f73a (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/vf_fieldorder.c')
-rw-r--r--libavfilter/vf_fieldorder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_fieldorder.c b/libavfilter/vf_fieldorder.c
index 89218560c6..a9347fd632 100644
--- a/libavfilter/vf_fieldorder.c
+++ b/libavfilter/vf_fieldorder.c
@@ -38,7 +38,7 @@ typedef struct
int line_size[4]; ///< bytes of pixel data per line for each plane
} FieldOrderContext;
-static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
+static av_cold int init(AVFilterContext *ctx, const char *args)
{
FieldOrderContext *fieldorder = ctx->priv;