[FFmpeg-cvslog] r14412 - trunk/libavcodec/avcodec.h
pross at xvid.org
pross
Sat Jul 26 14:20:19 CEST 2008
On Sat, Jul 26, 2008 at 01:57:22PM +0200, Dominik 'Rathann' Mierzejewski wrote:
> On Saturday, 26 July 2008 at 10:48, pross wrote:
> > Author: pross
> > Date: Sat Jul 26 10:48:26 2008
> > New Revision: 14412
> >
> > Log:
> > add sample_fmts infrastructure: AVCodec->sample_fmts and SAMPLE_FMT_NB enum.
> >
> > Modified:
> > trunk/libavcodec/avcodec.h
> >
> > Modified: trunk/libavcodec/avcodec.h
> > ==============================================================================
> > --- trunk/libavcodec/avcodec.h (original)
> > +++ trunk/libavcodec/avcodec.h Sat Jul 26 10:48:26 2008
> > @@ -347,6 +347,7 @@ enum SampleFormat {
> > SAMPLE_FMT_S24, ///< signed 24 bits
> > SAMPLE_FMT_S32, ///< signed 32 bits
> > SAMPLE_FMT_FLT, ///< float
> > + SAMPLE_FMT_NB ///< Number of sample formats. DO NOT USE if dynamically linking to libavcodec
>
> Huh? Why not?
Because your user application will need to be recompiled whenever we add
another format. These rules also apply to PIXEL_FMT_NB.
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20080726/41e06a8b/attachment.pgp>
More information about the ffmpeg-cvslog
mailing list