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/af_aformat.c | |
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/af_aformat.c')
-rw-r--r-- | libavfilter/af_aformat.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavfilter/af_aformat.c b/libavfilter/af_aformat.c index 3a75b925dd..5b00d7de9c 100644 --- a/libavfilter/af_aformat.c +++ b/libavfilter/af_aformat.c @@ -139,8 +139,7 @@ AVFilter avfilter_af_aformat = { .priv_size = sizeof(AFormatContext), .inputs = (AVFilterPad[]) {{ .name = "default", - .type = AVMEDIA_TYPE_AUDIO, - .filter_samples = ff_null_filter_samples }, + .type = AVMEDIA_TYPE_AUDIO, }, { .name = NULL}}, .outputs = (AVFilterPad[]) {{ .name = "default", .type = AVMEDIA_TYPE_AUDIO}, |