OSDN Git Service

avformat: Fix references to the removed function av_write_header in comments
authorMartin Storsjö <martin@martin.st>
Wed, 17 Oct 2012 19:45:23 +0000 (22:45 +0300)
committerMartin Storsjö <martin@martin.st>
Thu, 18 Oct 2012 13:33:48 +0000 (16:33 +0300)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/avformat.h

index f9f39a6..8af007e 100644 (file)
@@ -653,7 +653,7 @@ typedef struct AVStream {
      * of which frame timestamps are represented.
      *
      * decoding: set by libavformat
-     * encoding: set by libavformat in av_write_header. The muxer may use the
+     * encoding: set by libavformat in avformat_write_header. The muxer may use the
      * user-provided value of @ref AVCodecContext.time_base "codec->time_base"
      * as a hint.
      */
@@ -1486,7 +1486,7 @@ int av_interleave_packet_per_dts(AVFormatContext *s, AVPacket *out,
  * Write the stream trailer to an output media file and free the
  * file private data.
  *
- * May only be called after a successful call to av_write_header.
+ * May only be called after a successful call to avformat_write_header.
  *
  * @param s media file handle
  * @return 0 if OK, AVERROR_xxx on error