[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
Sat Oct 30 02:19:33 CEST 2010


On date Friday 2010-10-29 01:50:09 -0700, Stefano Sabatini encoded:
> On date Friday 2010-10-29 01:49:08 -0700, Stefano Sabatini encoded:
> > On date Thursday 2010-10-28 19:23:59 -0400, Justin Ruggles encoded:
> > > 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()
> > > 
> > > Do you also plan on moving av_get_bits_per_sample_format()?
> > 
> > Looks like a good idea, in that case I'll have to use the symver trick
> > or add a 2 prefix.
> 
> s/prefix/suffix/ of course

Another idea: rename it av_get_bits_per_sample_fmt(), "fmt" is already
used by the other samplefmt-related funcs.
-- 
FFmpeg = Fast Fast Mere Portable Excellent Generator



More information about the ffmpeg-devel mailing list