# HG changeset patch # User reimar # Date 1220464676 0 # Node ID 5245e7006f4cd525eab4a157792569d8cc8dd108 # Parent 3f4d2a22bd1b481b833996138583fe3faa3a4d1f Change doxygen comment: Clarify when av_write_trailer should be called. diff -r 3f4d2a22bd1b -r 5245e7006f4c avformat.h --- a/avformat.h Wed Sep 03 14:44:54 2008 +0000 +++ b/avformat.h Wed Sep 03 17:57:56 2008 +0000 @@ -980,6 +980,8 @@ * @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. */