From 89cff671f4e3d991bb2797174fc22360e9af7831 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 22 Mar 2007 13:17:03 +0000 Subject: [PATCH] clarify sub_id Originally committed as revision 8483 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/avcodec.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index ead4dc8dfe..e5f246f9a2 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -743,7 +743,10 @@ typedef struct AVCodecContext { /** * some codecs needs additionnal format info. It is stored here - * - encoding: set by user. + * if any muxer uses this then ALL demuxers/parsers AND encoders for the specific codec MUST set it correctly + * too otherwise stream copy breaks + * in general use of this field by muxers is not recommanded + * - encoding: set by lavc. * - decoding: set by lavc. (FIXME is this ok?) */ int sub_id;