projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72dadaa
)
libavformat: Document who sets the AVStream.id field
author
Martin Storsjö
<martin@martin.st>
Thu, 22 Mar 2012 15:05:08 +0000
(17:05 +0200)
committer
Martin Storsjö
<martin@martin.st>
Sat, 24 Mar 2012 20:17:37 +0000
(22:17 +0200)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/avformat.h
patch
|
blob
|
history
diff --git
a/libavformat/avformat.h
b/libavformat/avformat.h
index
073ca67
..
2bf03e1
100644
(file)
--- 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.