From fa0662393096a1ece73ccc321cd5b8948e96e431 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 17 Jun 2012 10:09:54 +0200 Subject: lavfi/audio: eliminate ff_default_filter_samples(). It currently does the following: 1) get a zeroed audio buffer 2) copy some properties (but not the data) of the input buffer to it 3) pass this buffer to the output filter This looks useless and is indeed not used by any filters, therefore delete it. Make ff_null_filter_samples() (just pass the buffer to the next filter) the new default. --- libavfilter/af_anull.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libavfilter/af_anull.c') diff --git a/libavfilter/af_anull.c b/libavfilter/af_anull.c index 294586e1f3..231fc8c411 100644 --- a/libavfilter/af_anull.c +++ b/libavfilter/af_anull.c @@ -33,8 +33,7 @@ AVFilter avfilter_af_anull = { .inputs = (AVFilterPad[]) {{ .name = "default", .type = AVMEDIA_TYPE_AUDIO, - .get_audio_buffer = ff_null_get_audio_buffer, - .filter_samples = ff_null_filter_samples }, + .get_audio_buffer = ff_null_get_audio_buffer, }, { .name = NULL}}, .outputs = (AVFilterPad[]) {{ .name = "default", -- cgit v1.2.3