diff --git a/libavformat/avio.h b/libavformat/avio.h
index 1e97357e38991a04d642e9406321288f48eaf60f..223bb436a6b50b54efeb642ea02ca5c426597bcf 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -190,6 +190,12 @@ int url_get_file_handle(URLContext *h);
  * @return maximum packet size in bytes
  */
 int url_get_max_packet_size(URLContext *h);
+
+/**
+ * Copy the filename of the resource accessed by h to buf.
+ *
+ * @param buf_size size in bytes of buf
+ */
 void url_get_filename(URLContext *h, char *buf, int buf_size);
 
 /**