diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-06-17 10:09:54 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-06-22 20:58:19 +0200 |
commit | fa0662393096a1ece73ccc321cd5b8948e96e431 (patch) | |
tree | c2dfe739f6229d79edb79f540439e245aae02880 /libavfilter/audio.h | |
parent | 9ee3334840c0d8564ca73dbfd6cd5a01bcdca79b (diff) | |
download | ffmpeg-fa0662393096a1ece73ccc321cd5b8948e96e431.tar.gz |
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/audio.h')
-rw-r--r-- | libavfilter/audio.h | 6 |
1 files changed, 0 insertions, 6 deletions
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. * |