diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-07-06 00:45:36 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-07-08 01:18:15 +0200 |
commit | abb0a9982f98e67662c72c90b879caa3b53fd3a8 (patch) | |
tree | 07de71c7abd661f83f57861fa8b8fc33057e23de /libavfilter | |
parent | 2d42008757efb0328308179a2190ff04b38315fd (diff) | |
download | ffmpeg-abb0a9982f98e67662c72c90b879caa3b53fd3a8.tar.gz |
lavfi: do not pass opaque field to init functions
Fix signature mismatch warnings.
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/avf_showwaves.c | 2 | ||||
-rw-r--r-- | libavfilter/vf_thumbnail.c | 2 | ||||
-rw-r--r-- | libavfilter/vf_tile.c | 2 | ||||
-rw-r--r-- | libavfilter/vf_tinterlace.c | 2 | ||||
-rw-r--r-- | libavfilter/vsrc_cellauto.c | 2 | ||||
-rw-r--r-- | libavfilter/vsrc_life.c | 2 | ||||
-rw-r--r-- | libavfilter/vsrc_mandelbrot.c | 2 | ||||
-rw-r--r-- | libavfilter/vsrc_mptestsrc.c | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/libavfilter/avf_showwaves.c b/libavfilter/avf_showwaves.c index f6fa45458e..f0ebbf3c84 100644 --- a/libavfilter/avf_showwaves.c +++ b/libavfilter/avf_showwaves.c @@ -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; diff --git a/libavfilter/vf_thumbnail.c b/libavfilter/vf_thumbnail.c index 45238b6a77..02354f2623 100644 --- a/libavfilter/vf_thumbnail.c +++ b/libavfilter/vf_thumbnail.c @@ -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; diff --git a/libavfilter/vf_tile.c b/libavfilter/vf_tile.c index 83ee45dda0..8ed7333886 100644 --- a/libavfilter/vf_tile.c +++ b/libavfilter/vf_tile.c @@ -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; diff --git a/libavfilter/vf_tinterlace.c b/libavfilter/vf_tinterlace.c index b0d04eb418..28bedf5be1 100644 --- a/libavfilter/vf_tinterlace.c +++ b/libavfilter/vf_tinterlace.c @@ -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; diff --git a/libavfilter/vsrc_cellauto.c b/libavfilter/vsrc_cellauto.c index 1fd43ee706..e064c2c141 100644 --- a/libavfilter/vsrc_cellauto.c +++ b/libavfilter/vsrc_cellauto.c @@ -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; diff --git a/libavfilter/vsrc_life.c b/libavfilter/vsrc_life.c index dd35f2c4b3..7a62f63a96 100644 --- a/libavfilter/vsrc_life.c +++ b/libavfilter/vsrc_life.c @@ -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; diff --git a/libavfilter/vsrc_mandelbrot.c b/libavfilter/vsrc_mandelbrot.c index 7bf64d9bcc..2a8efa023d 100644 --- a/libavfilter/vsrc_mandelbrot.c +++ b/libavfilter/vsrc_mandelbrot.c @@ -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; diff --git a/libavfilter/vsrc_mptestsrc.c b/libavfilter/vsrc_mptestsrc.c index c0b9e436fe..fd33acfd44 100644 --- a/libavfilter/vsrc_mptestsrc.c +++ b/libavfilter/vsrc_mptestsrc.c @@ -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; |