OSDN Git Service

clarify sub_id
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 22 Mar 2007 13:17:03 +0000 (13:17 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 22 Mar 2007 13:17:03 +0000 (13:17 +0000)
Originally committed as revision 8483 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/avcodec.h

index ead4dc8..e5f246f 100644 (file)
@@ -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;