summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-10-24 21:21:45 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-10-28 01:37:50 +0200
commit2179fc48b2752ab7de23ce75352796889febc41a (patch)
tree718f0b206fa184d3e92152de91b42a851ac18b37
parentdc38625ebce7af8e218ce7f3c553d1b570a349ed (diff)
avcodec: Resolve the codec_id compatibility issue.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/avcodec.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 15dc203be5..401ce32f25 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -47,7 +47,8 @@
*
* 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. it is as close as possible to similar codecs.
+ * 2. Give it a value which when taken as ASCII is recognized uniquely by a human as this specific codec.
+ * This ensures that 2 forks can independantly add CodecIDs without producing conflicts.
*/
enum CodecID {
CODEC_ID_NONE,