diff options
author | Paul B Mahol <onemda@gmail.com> | 2020-09-04 19:16:57 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2020-09-04 19:37:29 +0200 |
commit | 912785572a77dc97d749e64a359e92c7d378ff4a (patch) | |
tree | d50444d7ba3ae205aac8013b0fedd60d2e624317 | |
parent | 9f5f971efd54b7325b60f48269ecd0cf3456ac04 (diff) | |
download | ffmpeg-912785572a77dc97d749e64a359e92c7d378ff4a.tar.gz |
avfilter/asrc_anullsrc: remove not useful function
-rw-r--r-- | libavfilter/asrc_anullsrc.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/libavfilter/asrc_anullsrc.c b/libavfilter/asrc_anullsrc.c index da9da473d9..0ce2cfd754 100644 --- a/libavfilter/asrc_anullsrc.c +++ b/libavfilter/asrc_anullsrc.c @@ -93,19 +93,6 @@ static int query_formats(AVFilterContext *ctx) return ff_set_common_channel_layouts(ctx, ff_make_format64_list(chlayouts)); } -static int config_props(AVFilterLink *outlink) -{ - ANullContext *null = outlink->src->priv; - char buf[128]; - - av_get_channel_layout_string(buf, sizeof(buf), 0, null->channel_layout); - av_log(outlink->src, AV_LOG_VERBOSE, - "sample_rate:%d channel_layout:'%s' nb_samples:%d\n", - null->sample_rate, buf, null->nb_samples); - - return 0; -} - static int activate(AVFilterContext *ctx) { ANullContext *null = ctx->priv; @@ -141,7 +128,6 @@ static const AVFilterPad avfilter_asrc_anullsrc_outputs[] = { { .name = "default", .type = AVMEDIA_TYPE_AUDIO, - .config_props = config_props, }, { NULL } }; |