Commit abb0a998 authored by Stefano Sabatini's avatar Stefano Sabatini

lavfi: do not pass opaque field to init functions

Fix signature mismatch warnings.
parent 2d420087
......@@ -57,7 +57,7 @@ static const AVOption showwaves_options[] = {
AVFILTER_DEFINE_CLASS(showwaves);
static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
static av_cold int init(AVFilterContext *ctx, const char *args)
{
ShowWavesContext *showwaves = ctx->priv;
int err;
......
......@@ -43,7 +43,7 @@ typedef struct {
struct thumb_frame *frames; ///< the n_frames frames
} ThumbContext;
static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
static av_cold int init(AVFilterContext *ctx, const char *args)
{
ThumbContext *thumb = ctx->priv;
......
......@@ -39,7 +39,7 @@ typedef struct {
#define REASONABLE_SIZE 1024
static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
static av_cold int init(AVFilterContext *ctx, const char *args)
{
TileContext *tile = ctx->priv;
int r;
......
......@@ -80,7 +80,7 @@ static int query_formats(AVFilterContext *ctx)
return 0;
}
static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
static av_cold int init(AVFilterContext *ctx, const char *args)
{
TInterlaceContext *tinterlace = ctx->priv;
int i;
......
......@@ -158,7 +158,7 @@ static int init_pattern_from_file(AVFilterContext *ctx)
return init_pattern_from_string(ctx);
}
static int init(AVFilterContext *ctx, const char *args, void *opaque)
static int init(AVFilterContext *ctx, const char *args)
{
CellAutoContext *cellauto = ctx->priv;
AVRational frame_rate;
......
......@@ -219,7 +219,7 @@ static int init_pattern_from_file(AVFilterContext *ctx)
return 0;
}
static int init(AVFilterContext *ctx, const char *args, void *opaque)
static int init(AVFilterContext *ctx, const char *args)
{
LifeContext *life = ctx->priv;
AVRational frame_rate;
......
......@@ -108,7 +108,7 @@ static const AVOption mandelbrot_options[] = {
AVFILTER_DEFINE_CLASS(mandelbrot);
static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
static av_cold int init(AVFilterContext *ctx, const char *args)
{
MBContext *mb = ctx->priv;
AVRational rate_q;
......
......@@ -256,7 +256,7 @@ static void ring2_test(uint8_t *dst, int dst_linesize, int off)
}
}
static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
static av_cold int init(AVFilterContext *ctx, const char *args)
{
MPTestContext *test = ctx->priv;
AVRational frame_rate_q;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment