Browse Source

lavfi: do not pass opaque field to init functions

Fix signature mismatch warnings.
tags/n1.0
Stefano Sabatini 13 years ago
parent
commit
abb0a9982f
8 changed files with 8 additions and 8 deletions
  1. +1
    -1
      libavfilter/avf_showwaves.c
  2. +1
    -1
      libavfilter/vf_thumbnail.c
  3. +1
    -1
      libavfilter/vf_tile.c
  4. +1
    -1
      libavfilter/vf_tinterlace.c
  5. +1
    -1
      libavfilter/vsrc_cellauto.c
  6. +1
    -1
      libavfilter/vsrc_life.c
  7. +1
    -1
      libavfilter/vsrc_mandelbrot.c
  8. +1
    -1
      libavfilter/vsrc_mptestsrc.c

+ 1
- 1
libavfilter/avf_showwaves.c View File

@@ -57,7 +57,7 @@ static const AVOption showwaves_options[] = {


AVFILTER_DEFINE_CLASS(showwaves); 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; ShowWavesContext *showwaves = ctx->priv;
int err; int err;


+ 1
- 1
libavfilter/vf_thumbnail.c View File

@@ -43,7 +43,7 @@ typedef struct {
struct thumb_frame *frames; ///< the n_frames frames struct thumb_frame *frames; ///< the n_frames frames
} ThumbContext; } 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; ThumbContext *thumb = ctx->priv;




+ 1
- 1
libavfilter/vf_tile.c View File

@@ -39,7 +39,7 @@ typedef struct {


#define REASONABLE_SIZE 1024 #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; TileContext *tile = ctx->priv;
int r; int r;


+ 1
- 1
libavfilter/vf_tinterlace.c View File

@@ -80,7 +80,7 @@ static int query_formats(AVFilterContext *ctx)
return 0; 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; TInterlaceContext *tinterlace = ctx->priv;
int i; int i;


+ 1
- 1
libavfilter/vsrc_cellauto.c View File

@@ -158,7 +158,7 @@ static int init_pattern_from_file(AVFilterContext *ctx)
return init_pattern_from_string(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; CellAutoContext *cellauto = ctx->priv;
AVRational frame_rate; AVRational frame_rate;


+ 1
- 1
libavfilter/vsrc_life.c View File

@@ -219,7 +219,7 @@ static int init_pattern_from_file(AVFilterContext *ctx)
return 0; return 0;
} }


static int init(AVFilterContext *ctx, const char *args, void *opaque)
static int init(AVFilterContext *ctx, const char *args)
{ {
LifeContext *life = ctx->priv; LifeContext *life = ctx->priv;
AVRational frame_rate; AVRational frame_rate;


+ 1
- 1
libavfilter/vsrc_mandelbrot.c View File

@@ -108,7 +108,7 @@ static const AVOption mandelbrot_options[] = {


AVFILTER_DEFINE_CLASS(mandelbrot); 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; MBContext *mb = ctx->priv;
AVRational rate_q; AVRational rate_q;


+ 1
- 1
libavfilter/vsrc_mptestsrc.c 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; MPTestContext *test = ctx->priv;
AVRational frame_rate_q; AVRational frame_rate_q;


Loading…
Cancel
Save