Mark SAMPLE_FMT_S24 as deprecated.
authorPeter Ross <pross@xvid.org>
Mon, 18 Aug 2008 12:03:59 +0000 (12:03 +0000)
committerPeter Ross <pross@xvid.org>
Mon, 18 Aug 2008 12:03:59 +0000 (12:03 +0000)
Originally committed as revision 14823 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/avcodec.h

index d932c79..ac13087 100644 (file)
@@ -345,7 +345,7 @@ enum SampleFormat {
     SAMPLE_FMT_NONE = -1,
     SAMPLE_FMT_U8,              ///< unsigned 8 bits
     SAMPLE_FMT_S16,             ///< signed 16 bits
     SAMPLE_FMT_NONE = -1,
     SAMPLE_FMT_U8,              ///< unsigned 8 bits
     SAMPLE_FMT_S16,             ///< signed 16 bits
-    SAMPLE_FMT_S24,             ///< signed 24 bits
+    SAMPLE_FMT_S24,             ///< signed 24 bits @deprecated Deprecated in favor of SAMPLE_FMT_S32
     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
     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