OSDN Git Service

Change doxygen comment: Clarify when av_write_trailer should be called.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 3 Sep 2008 17:57:56 +0000 (17:57 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 3 Sep 2008 17:57:56 +0000 (17:57 +0000)
Originally committed as revision 15181 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/avformat.h

index 0db6758..164b6ad 100644 (file)
@@ -980,6 +980,8 @@ int av_interleave_packet_per_dts(AVFormatContext *s, AVPacket *out, AVPacket *pk
  * @brief 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.
+ *
  * @param s media file handle
  * @return 0 if OK. AVERROR_xxx if error.
  */