[FFmpeg-cvslog] lavf: update muxing doxy

Anton Khirnov git at videolan.org
Sun Jun 26 20:23:43 CEST 2016


ffmpeg | branch: release/3.1 | Anton Khirnov <anton at khirnov.net> | Sat May 21 11:41:37 2016 +0200| [14634429b915333f3612eaf41db3954222dc4aaf] | committer: Anton Khirnov

lavf: update muxing doxy

Describe the new AVCodecParameters API.

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

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

diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index fbdfba4..65c3d90 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -191,15 +191,15 @@
  *   avio_open2() or a custom one.
  * - Unless the format is of the AVFMT_NOSTREAMS type, at least one stream must
  *   be created with the avformat_new_stream() function. The caller should fill
- *   the @ref AVStream.codec "stream codec context" information, such as the
- *   codec @ref AVCodecContext.codec_type "type", @ref AVCodecContext.codec_id
+ *   the @ref AVStream.codecpar "stream codec parameters" information, such as the
+ *   codec @ref AVCodecParameters.codec_type "type", @ref AVCodecParameters.codec_id
  *   "id" and other parameters (e.g. width / height, the pixel or sample format,
  *   etc.) as known. The @ref AVStream.time_base "stream timebase" should
  *   be set to the timebase that the caller desires to use for this stream (note
  *   that the timebase actually used by the muxer can be different, as will be
  *   described later).
  * - It is advised to manually initialize only the relevant fields in
- *   AVCodecContext, rather than using @ref avcodec_copy_context() during
+ *   AVCodecParameters, rather than using @ref avcodec_parameters_copy() during
  *   remuxing: there is no guarantee that the codec context values remain valid
  *   for both input and output format contexts.
  * - The caller may fill in additional information, such as @ref



More information about the ffmpeg-cvslog mailing list