diff --git a/libavformat/avio.h b/libavformat/avio.h
index 54a92f9ece3b0c818f11d4fa7724811dfd6f6832..b2fc0980d63873b767cec7df1e171a079e3476ce 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -222,7 +222,7 @@ URLContext *url_fileno(ByteIOContext *s);
  * handle. If the file is not packetized (stream like http or file on
  * disk), then 0 is returned.
  *
- * @param h buffered file handle
+ * @param s buffered file handle
  * @return maximum packet size in bytes
  */
 int url_fget_max_packet_size(ByteIOContext *s);