1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

lavfi: do not pass opaque field to init functions

Fix signature mismatch warnings.
This commit is contained in:
Stefano Sabatini 2012-07-06 00:45:36 +02:00
parent 2d42008757
commit abb0a9982f
8 changed files with 8 additions and 8 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;