codec id addition guidlines

Originally committed as revision 8534 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2007-03-27 11:18:24 +00:00
parent 351f6b4e91
commit 7ebf5927fd
1 changed files with 6 additions and 0 deletions

View 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,