[FFmpeg-cvslog] libavformat: Document who sets the AVStream.id field

Martin Storsjö git at videolan.org
Sun Mar 25 03:10:31 CEST 2012


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Thu Mar 22 17:05:08 2012 +0200| [e20ad71ebbf9fe1f1a0dbc0c4e98afa8a28dc88c] | committer: Martin Storsjö

libavformat: Document who sets the AVStream.id field

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e20ad71ebbf9fe1f1a0dbc0c4e98afa8a28dc88c
---

 libavformat/avformat.h |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 073ca67..2bf03e1 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -547,7 +547,12 @@ typedef struct AVIndexEntry {
  */
 typedef struct AVStream {
     int index;    /**< stream index in AVFormatContext */
-    int id;       /**< format-specific stream ID */
+    /**
+     * Format-specific stream ID.
+     * decoding: set by libavformat
+     * encoding: set by the user
+     */
+    int id;
     AVCodecContext *codec; /**< codec context */
     /**
      * Real base framerate of the stream.



More information about the ffmpeg-cvslog mailing list