libavformat: Document who sets the AVStream.id field

Signed-off-by: Martin Storsjö <martin@martin.st>
pull/4/head
Martin Storsjö 13 years ago
parent 72dadaa957
commit e20ad71ebb
  1. 7
      libavformat/avformat.h

@ -547,7 +547,12 @@ typedef struct AVIndexEntry {
*/ */
typedef struct AVStream { typedef struct AVStream {
int index; /**< stream index in AVFormatContext */ 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 */ AVCodecContext *codec; /**< codec context */
/** /**
* Real base framerate of the stream. * Real base framerate of the stream.

Loading…
Cancel
Save