[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec utils.c, 1.173, 1.174 avcodec.h, 1.455, 1.456
Mike Melanson
mike
Wed Feb 22 00:00:41 CET 2006
Alex Beregszaszi wrote:
> Hi,
>
>
>>>@@ -266,11 +266,14 @@
>>> };
>>>
>>> /* currently unused, may be used if 24/32 bits samples ever
>>> supported */
>>>+/* all in native endian */
>>> 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.
--
-Mike Melanson
More information about the ffmpeg-cvslog
mailing list