summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-03-27 11:18:24 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-03-27 11:18:24 +0000
commit7ebf5927fd335b4f0178702cce38218e3289c615 (patch)
tree543928202812a73fd8cd5c3960af31ddd1ef7098
parent351f6b4e91e299157cc75c8af0dca036eca5cd5e (diff)
downloadffmpeg-7ebf5927fd335b4f0178702cce38218e3289c615.tar.gz
codec id addition guidlines
Originally committed as revision 8534 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/avcodec.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 74805d92b0..6dbd355bd8 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -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,