From dc76fe1348be142e5e4a85c5d2b0f6636e191498 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Wed, 3 Sep 2008 17:57:56 +0000 Subject: [PATCH] Change doxygen comment: Clarify when av_write_trailer should be called. Originally committed as revision 15181 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/avformat.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 0db675886b..164b6adcc0 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -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. */