diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-04-12 11:13:33 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-04-12 11:54:39 +0200 |
commit | fd6228e65711e63a9e35e9a1087d7ce62040e6e3 (patch) | |
tree | a533de5b0c63597c733c7702f507e4df53f5e8e3 /libavfilter/vf_libopencv.c | |
parent | d69a4177b988cadaaadcd349f4b5dc1abe784a2d (diff) | |
download | ffmpeg-streaming-fd6228e65711e63a9e35e9a1087d7ce62040e6e3.zip ffmpeg-streaming-fd6228e65711e63a9e35e9a1087d7ce62040e6e3.tar.gz |
lavfi: remove now unused args parameter from AVFilter.init and init_opaque
This is mostly automated global search and replace
The deprecated aconvert filter is disabled, if it still has users
it should be updated
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_libopencv.c')
-rw-r--r-- | libavfilter/vf_libopencv.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavfilter/vf_libopencv.c b/libavfilter/vf_libopencv.c index cbaf8f7..342af38 100644 --- a/libavfilter/vf_libopencv.c +++ b/libavfilter/vf_libopencv.c @@ -74,7 +74,7 @@ typedef struct { const AVClass *class; char *name; char *params; - int (*init)(AVFilterContext *ctx, const char *args); + int (*init)(AVFilterContext *ctx); void (*uninit)(AVFilterContext *ctx); void (*end_frame_filter)(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg); void *priv; @@ -86,7 +86,7 @@ typedef struct { double param3, param4; } SmoothContext; -static av_cold int smooth_init(AVFilterContext *ctx, const char *args) +static av_cold int smooth_init(AVFilterContext *ctx) { OCVContext *ocv = ctx->priv; SmoothContext *smooth = ocv->priv; @@ -252,7 +252,7 @@ typedef struct { IplConvKernel *kernel; } DilateContext; -static av_cold int dilate_init(AVFilterContext *ctx, const char *args) +static av_cold int dilate_init(AVFilterContext *ctx) { OCVContext *ocv = ctx->priv; DilateContext *dilate = ocv->priv; @@ -306,7 +306,7 @@ static void erode_end_frame_filter(AVFilterContext *ctx, IplImage *inimg, IplIma typedef struct { const char *name; size_t priv_size; - int (*init)(AVFilterContext *ctx, const char *args); + int (*init)(AVFilterContext *ctx); void (*uninit)(AVFilterContext *ctx); void (*end_frame_filter)(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg); } OCVFilterEntry; @@ -331,7 +331,7 @@ static av_cold int init(AVFilterContext *ctx) if (!(ocv->priv = av_mallocz(entry->priv_size))) return AVERROR(ENOMEM); - return ocv->init(ctx, ocv->params); + return ocv->init(ctx); } } |