[FFmpeg-devel] [PATCH] Add av_samples_fill_pointers().

Michael Niedermayer michaelni
Sat Jan 15 14:23:40 CET 2011


On Sat, Jan 15, 2011 at 02:26:49AM +0100, Stefano Sabatini wrote:
> ---
>  libavcore/audioconvert.c |   32 ++++++++++++++++++++++++++++++++
>  libavcore/audioconvert.h |   21 +++++++++++++++++++++
>  2 files changed, 53 insertions(+), 0 deletions(-)
> 
> diff --git a/libavcore/audioconvert.c b/libavcore/audioconvert.c
> index 031c57f..1c6a511 100644
> --- a/libavcore/audioconvert.c
> +++ b/libavcore/audioconvert.c
> @@ -134,3 +134,35 @@ int av_samples_fill_linesizes(int linesizes[8], enum AVSampleFormat sample_fmt,
>  
>      return 0;
>  }
> +
> +int av_samples_fill_pointers(uint8_t *pointers[8], uint8_t *buf, int buf_size,
> +                             enum AVSampleFormat sample_fmt, int planar,
> +                             int64_t channel_layout, int nb_channels)
> +{

channel_layout is not supposed to be a input parameter for this

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

I have often repented speaking, but never of holding my tongue.
-- Xenocrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110115/2b689e2b/attachment.pgp>



More information about the ffmpeg-devel mailing list