@@ -586,16 +586,23 @@ typedef struct AVCodecContext {
/**
* Codec delay.
*
- * Encoding: Number of frames delay there will be from the encoder input to
- * the decoder output. (we assume the decoder matches the spec)
- * Decoding: Number of frames delay in addition to what a standard decoder
- * as specified in the spec would produce.
+ * *Encoding:*
+ *
+ * Number of frames delay there will be from the encoder input to
+ * the decoder output. (we assume the decoder matches the spec).
+ *
+ * *Decoding:*
+ *
+ * Number of frames delay in addition to what a standard decoder
+ * as specified in the spec would produce.
+ *
+ * *Video:*
*
- * Video:
* Number of frames the decoded output will be delayed relative to the
* encoded input.
*
- * Audio:
+ * *Audio:*
+ *
* For encoding, this field is unused (see initial_padding).
*
* For decoding, this is the number of samples the decoder needs to
@@ -882,19 +882,27 @@ typedef struct AVStream {
AVRational time_base;
/**
- * Decoding: pts of the first frame of the stream in presentation order, in stream time base.
- * Only set this if you are absolutely 100% sure that the value you set
- * it to really is the pts of the first frame.
- * This may be undefined (AV_NOPTS_VALUE).
+ * *Decoding:*
+ *
+ * pts of the first frame of the stream in presentation order, in stream time base.
+ *
+ * Only set this if you are absolutely 100% sure that the value you set
+ * it to really is the pts of the first frame.
+ *
+ * This may be undefined (AV_NOPTS_VALUE).
+ *
* @note The ASF header does NOT contain a correct start_time the ASF
* demuxer must NOT set this.
*/
int64_t start_time;
/**
- * Decoding: duration of the stream, in stream time base.
- * If a source file does not specify a duration, but does specify
- * a bitrate, this value will be estimated from bitrate and file size.
+ * *Decoding:*
+ *
+ * Duration of the stream, in stream time base.
+ *
+ * If a source file does not specify a duration, but does specify
+ * a bitrate, this value will be estimated from bitrate and file size.
*
* - decoding: set by libavformat
* - encoding: may be set by the caller before avformat_write_header() to