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:
parent
2d42008757
commit
abb0a9982f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user