From 2179fc48b2752ab7de23ce75352796889febc41a Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 24 Oct 2011 21:21:45 +0200 Subject: [PATCH] avcodec: Resolve the codec_id compatibility issue. Signed-off-by: Michael Niedermayer --- libavcodec/avcodec.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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,