[FFmpeg-devel] [PATCH] lavfi: prefer nb_samples over size in AVFilterBufferRefAudioProps

Michael Niedermayer michaelni at gmx.at
Mon May 23 05:17:11 CEST 2011


On Mon, May 23, 2011 at 12:14:27AM +0200, Stefano Sabatini wrote:
> Remove AVFilterBufferRefAudioProps.size, and use nb_samples in
> avfilter_get_audio_buffer() and avfilter_default_get_audio_buffer() in
> place of size.
> 
> This is required as the size in the audio buffer may be aligned, so it
> may not contain a well defined number of samples.
> ---
>  libavfilter/avfilter.c |   15 ++++++++-------
>  libavfilter/avfilter.h |   11 +++++------
>  libavfilter/defaults.c |   11 +++++------
>  3 files changed, 18 insertions(+), 19 deletions(-)

sounds ok


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Frequently ignored awnser#1 FFmpeg bugs should be sent to our bugtracker. User
questions about the command line tools should be sent to the ffmpeg-user ML.
And questions about how to use libav* should be sent to the libav-user ML.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110523/fb4e1719/attachment.asc>


More information about the ffmpeg-devel mailing list