[Ffmpeg-devel] Another Semantic Error?

Brian Brice bbrice
Wed Apr 5 20:22:50 CEST 2006


So, I'm checking out audio handling with lavc and I noticed the
SampleFormat enumeration in avcodec.h:

enum SampleFormat {
     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
};

Just to be consistent with the other format names, shouldn't
SAMPLT_FMT_NONE be SAMPLE_FMT_NONE? :-P

-- 
Brian Brice
In order to know recursion, you must first know recursion...





More information about the ffmpeg-devel mailing list