OSDN Git Service

codec id addition guidlines
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 27 Mar 2007 11:18:24 +0000 (11:18 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 27 Mar 2007 11:18:24 +0000 (11:18 +0000)
Originally committed as revision 8534 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/avcodec.h

index 74805d9..6dbd355 100644 (file)
@@ -47,6 +47,12 @@ extern "C" {
 #define AV_TIME_BASE            1000000
 #define AV_TIME_BASE_Q          (AVRational){1, AV_TIME_BASE}
 
+/**
+ *
+ * if you add a codec id to this list add it so that
+ * 1. no value of a existing codec id changes (that would break ABI)
+ * 2. closest to similar codecs
+ */
 enum CodecID {
     CODEC_ID_NONE,
     CODEC_ID_MPEG1VIDEO,