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/audio.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'libavfilter/audio.h') diff --git a/libavfilter/audio.h b/libavfilter/audio.h index 935bec5c43..9af44f8a1c 100644 --- a/libavfilter/audio.h +++ b/libavfilter/audio.h @@ -42,12 +42,6 @@ AVFilterBufferRef *ff_null_get_audio_buffer(AVFilterLink *link, int perms, AVFilterBufferRef *ff_get_audio_buffer(AVFilterLink *link, int perms, int nb_samples); -/** default handler for filter_samples() for audio inputs */ -void ff_default_filter_samples(AVFilterLink *link, AVFilterBufferRef *samplesref); - -/** filter_samples() handler for filters which simply pass audio along */ -void ff_null_filter_samples(AVFilterLink *link, AVFilterBufferRef *samplesref); - /** * Send a buffer of audio samples to the next filter. * -- cgit v1.2.3