diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-04-12 13:13:33 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-04-12 13:54:39 +0400 |
commit | fd6228e65711e63a9e35e9a1087d7ce62040e6e3 (patch) | |
tree | a533de5b0c63597c733c7702f507e4df53f5e8e3 /libavfilter/vf_subtitles.c | |
parent | d69a4177b988cadaaadcd349f4b5dc1abe784a2d (diff) |
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_subtitles.c')
-rw-r--r-- | libavfilter/vf_subtitles.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavfilter/vf_subtitles.c b/libavfilter/vf_subtitles.c index 5c1314f730..aaa8942615 100644 --- a/libavfilter/vf_subtitles.c +++ b/libavfilter/vf_subtitles.c @@ -85,7 +85,7 @@ static void ass_log(int ass_level, const char *fmt, va_list args, void *ctx) av_log(ctx, level, "\n"); } -static av_cold int init(AVFilterContext *ctx, const char *args) +static av_cold int init(AVFilterContext *ctx) { AssContext *ass = ctx->priv; @@ -210,10 +210,10 @@ static const AVOption ass_options[] = { AVFILTER_DEFINE_CLASS(ass); -static av_cold int init_ass(AVFilterContext *ctx, const char *args) +static av_cold int init_ass(AVFilterContext *ctx) { AssContext *ass = ctx->priv; - int ret = init(ctx, args); + int ret = init(ctx); if (ret < 0) return ret; @@ -251,7 +251,7 @@ static const AVOption subtitles_options[] = { AVFILTER_DEFINE_CLASS(subtitles); -static av_cold int init_subtitles(AVFilterContext *ctx, const char *args) +static av_cold int init_subtitles(AVFilterContext *ctx) { int ret, sid; AVDictionary *codec_opts = NULL; @@ -264,7 +264,7 @@ static av_cold int init_subtitles(AVFilterContext *ctx, const char *args) AssContext *ass = ctx->priv; /* Init libass */ - ret = init(ctx, args); + ret = init(ctx); if (ret < 0) return ret; ass->track = ass_new_track(ass->library); |