summaryrefslogtreecommitdiffstats
path: root/libavfilter/f_select.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-04-12 11:13:33 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-04-12 11:54:39 +0200
commitfd6228e65711e63a9e35e9a1087d7ce62040e6e3 (patch)
treea533de5b0c63597c733c7702f507e4df53f5e8e3 /libavfilter/f_select.c
parentd69a4177b988cadaaadcd349f4b5dc1abe784a2d (diff)
downloadffmpeg-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/f_select.c')
-rw-r--r--libavfilter/f_select.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavfilter/f_select.c b/libavfilter/f_select.c
index 786b5e1..acf713c 100644
--- a/libavfilter/f_select.c
+++ b/libavfilter/f_select.c
@@ -139,7 +139,7 @@ typedef struct {
} SelectContext;
-static av_cold int init(AVFilterContext *ctx, const char *args, const AVClass *class)
+static av_cold int init(AVFilterContext *ctx)
{
SelectContext *select = ctx->priv;
int ret;
@@ -399,12 +399,12 @@ static const AVOption aselect_options[] = {
};
AVFILTER_DEFINE_CLASS(aselect);
-static av_cold int aselect_init(AVFilterContext *ctx, const char *args)
+static av_cold int aselect_init(AVFilterContext *ctx)
{
SelectContext *select = ctx->priv;
int ret;
- if ((ret = init(ctx, args, &aselect_class)) < 0)
+ if ((ret = init(ctx)) < 0)
return ret;
if (select->do_scene_detect) {
@@ -458,12 +458,12 @@ static const AVOption select_options[] = {
AVFILTER_DEFINE_CLASS(select);
-static av_cold int select_init(AVFilterContext *ctx, const char *args)
+static av_cold int select_init(AVFilterContext *ctx)
{
SelectContext *select = ctx->priv;
int ret;
- if ((ret = init(ctx, args, &select_class)) < 0)
+ if ((ret = init(ctx)) < 0)
return ret;
if (select->do_scene_detect && !CONFIG_AVCODEC) {
OpenPOWER on IntegriCloud