OSDN Git Service

lavfi/audio: eliminate ff_default_filter_samples().
authorAnton Khirnov <anton@khirnov.net>
Sun, 17 Jun 2012 08:09:54 +0000 (10:09 +0200)
committerAnton Khirnov <anton@khirnov.net>
Fri, 22 Jun 2012 18:58:19 +0000 (20:58 +0200)
commitfa0662393096a1ece73ccc321cd5b8948e96e431
treec2dfe739f6229d79edb79f540439e245aae02880
parent9ee3334840c0d8564ca73dbfd6cd5a01bcdca79b
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_aformat.c
libavfilter/af_anull.c
libavfilter/audio.c
libavfilter/audio.h