deprecate codec IDs that won't ever be used
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 5 Nov 2011 13:33:45 +0000 (14:33 +0100)
committerAnton Khirnov <anton@khirnov.net>
Sun, 6 Nov 2011 06:41:58 +0000 (07:41 +0100)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/avcodec.h

index c3cd023..577575b 100644 (file)
@@ -152,7 +152,9 @@ enum CodecID {
     CODEC_ID_TIERTEXSEQVIDEO,
     CODEC_ID_TIFF,
     CODEC_ID_GIF,
+#if LIBAVCODEC_VERSION_MAJOR == 53
     CODEC_ID_FFH264,
+#endif
     CODEC_ID_DXA,
     CODEC_ID_DNXHD,
     CODEC_ID_THP,
@@ -304,8 +306,10 @@ enum CodecID {
     CODEC_ID_MACE3,
     CODEC_ID_MACE6,
     CODEC_ID_VMDAUDIO,
+#if LIBAVCODEC_VERSION_MAJOR == 53
     CODEC_ID_SONIC,
     CODEC_ID_SONIC_LS,
+#endif
     CODEC_ID_FLAC,
     CODEC_ID_MP3ADU,
     CODEC_ID_MP3ON4,