aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2022-04-13 09:39:49 +0200
committerPaul B Mahol <onemda@gmail.com>2022-04-13 09:41:14 +0200
commit9d40fe20c90bf6008d83aa905ab288709035c4ca (patch)
tree872d8faa9f2a288bc17a0452511ada63c5647749
parent63d12a48b574ae52691246486ba13cda4dae8a44 (diff)
downloadffmpeg-9d40fe20c90bf6008d83aa905ab288709035c4ca.tar.gz
avfilter/af_crystalizer: remove no longer needed wrapper function
-rw-r--r--libavfilter/af_crystalizer.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/libavfilter/af_crystalizer.c b/libavfilter/af_crystalizer.c
index 3e840d0439..449f24a082 100644
--- a/libavfilter/af_crystalizer.c
+++ b/libavfilter/af_crystalizer.c
@@ -224,18 +224,6 @@ static av_cold void uninit(AVFilterContext *ctx)
av_frame_free(&s->prev);
}
-static int process_command(AVFilterContext *ctx, const char *cmd, const char *args,
- char *res, int res_len, int flags)
-{
- int ret;
-
- ret = ff_filter_process_command(ctx, cmd, args, res, res_len, flags);
- if (ret < 0)
- return ret;
-
- return config_input(ctx->inputs[0]);
-}
-
static const AVFilterPad inputs[] = {
{
.name = "default",
@@ -262,7 +250,7 @@ const AVFilter ff_af_crystalizer = {
FILTER_OUTPUTS(outputs),
FILTER_SAMPLEFMTS(AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_FLTP,
AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_DBLP),
- .process_command = process_command,
+ .process_command = ff_filter_process_command,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
};