diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 35f04d878ae8980e80fe21caf09ba216073d467a..57faaedb9c4f9295914baa8c078a76c34520a843 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -1096,8 +1096,8 @@ int av_interleave_packet_per_dts(AVFormatContext *s, AVPacket *out,
                                  AVPacket *pkt, int flush);
 
 /**
- * @brief Writes the stream trailer to an output media file and
- *        free the file private data.
+ * Writes the stream trailer to an output media file and frees the
+ * file private data.
  *
  * May only be called after a successful call to av_write_header.
  *