From 7ebf5927fd335b4f0178702cce38218e3289c615 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 27 Mar 2007 11:18:24 +0000 Subject: [PATCH] codec id addition guidlines Originally committed as revision 8534 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/avcodec.h | 6 ++++++ 1 file changed, 6 insertions(+) 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,