lavfi: simplify signature for avfilter_get_audio_buffer() and friends
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Tue, 30 Aug 2011 21:22:29 +0000 (23:22 +0200)
committerAnton Khirnov <anton@khirnov.net>
Wed, 9 May 2012 18:29:53 +0000 (20:29 +0200)
commit7ef0adcc2e800cb1357d4d5d7ce878c0f9a36c01
tree3919a6f8dfd07ea511af7b0142f291580881b252
parent6735534f19369a914d795aa84cd3faa4c57729ce
lavfi: simplify signature for avfilter_get_audio_buffer() and friends

The additional parameters are just complicating the function interface.

Assume that a requested samples buffer will *always* have the format
specified in the requested link.

This breaks audio filtering API and ABI in theory, but since it's
unusable right now this shouldn't be a problem.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavfilter/avfilter.c
libavfilter/avfilter.h
libavfilter/defaults.c