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

Stefano Sabatini stefano.sabatini-lala
Tue Nov 2 21:51:59 CET 2010


On date Monday 2010-11-01 14:45:01 +0100, Michael Niedermayer encoded:
> 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

Removed and patch updated.
-- 
FFmpeg = Fancy & Foolish Minimalistic Prodigious Emblematic Gem



More information about the ffmpeg-devel mailing list