summaryrefslogtreecommitdiff
path: root/libavfilter/af_anull.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-06-17 10:09:54 +0200
committerAnton Khirnov <anton@khirnov.net>2012-06-22 20:58:19 +0200
commitfa0662393096a1ece73ccc321cd5b8948e96e431 (patch)
treec2dfe739f6229d79edb79f540439e245aae02880 /libavfilter/af_anull.c
parent9ee3334840c0d8564ca73dbfd6cd5a01bcdca79b (diff)
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.
Diffstat (limited to 'libavfilter/af_anull.c')
-rw-r--r--libavfilter/af_anull.c3
1 files changed, 1 insertions, 2 deletions
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",