[FFmpeg-devel] [PATCH 2/2] Implement functions: av_get_sample_fmt_name() av_get_sample_fmt() av_get_sample_fmt_string()

Michael Niedermayer michaelni
Mon Nov 1 14:45:01 CET 2010


On Fri, Oct 29, 2010 at 12:32:20AM -0700, Stefano Sabatini wrote:
> in libavcore, and deprecate the corresponding libavcodec/audioconvert.h functions:
> avcodec_get_sample_fmt_name()
> avcodec_get_sample_fmt()
> avcodec_sample_fmt_string()
[...]
> +/**
> + * Generate a string corresponding to the sample format with
> + * sample_fmt, or a header if sample_fmt is negative.
> + *
> + * @param buf the buffer where to write the string
> + * @param buf_size the size of buf
> + * @param sample_fmt the number of the sample format to print the
> + * corresponding info string, or a negative value to print the
> + * corresponding header.
> + * Meaningful values for obtaining a sample format info vary from 0 to

> + * AV_SAMPLE_FMT_NB -1.
       ^^^^^^^^^^^^
       not part of public api
       

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

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- 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/20101101/5ad84da0/attachment.pgp>



More information about the ffmpeg-devel mailing list