changeset 4710:2f6e03f644f7 libavcodec

clarify sub_id
author michael
date Thu, 22 Mar 2007 13:17:03 +0000
parents 6768647cc0fd
children 21aad2a2b725
files avcodec.h
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/avcodec.h	Thu Mar 22 11:23:38 2007 +0000
+++ b/avcodec.h	Thu Mar 22 13:17:03 2007 +0000
@@ -743,7 +743,10 @@
 
     /**
      * 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;