[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec utils.c, 1.173, 1.174 avcodec.h, 1.455, 1.456

Alex Beregszaszi alex
Wed Feb 22 00:56:00 CET 2006


Hi,

> >>> enum SampleFormat {
> >>>-    SAMPLE_FMT_S16 = 0,         ///< signed 16 bits
> >>>+    SAMPLT_FMT_NONE = -1,
> >>>+    SAMPLE_FMT_U8,              ///< unsigned 8 bits
> >>>+    SAMPLE_FMT_S16,             ///< signed 16 bits
> >>>+    SAMPLE_FMT_S24,             ///< signed 24 bits
> >>>     SAMPLE_FMT_S32,             ///< signed 32 bits
> >>>     SAMPLE_FMT_FLT,             ///< float
> >>>-    SAMPLE_FMT_DBL,             ///< double
> >>> };
> >>
> >>I guess this breaks the ABI (and API as you remove SAMPLE_FMT_DBL)
> >>so this certainly deserve a version number increase.
> > 
> > 
> > It was never used. Michael, can you comment?
> 
> 	If it was never used, this might be a good opportunity to change
> 	_FLT 
> and _DBL to something more consistent and portable such as _F32 and 
> _F64. Just an idea.

Might be an option, but on intel double is just 48bits. However, I dont
think double precision audio has any sense :)

-- 
Alex Beregszaszi 			email: alex at fsn.hu
Free Software Network			cell: +36 70 3144424





More information about the ffmpeg-cvslog mailing list