From 8bf256bcc064ffa073b67e237f3141427d1f396c Mon Sep 17 00:00:00 2001 From: Stefano Sabatini <stefano.sabatini-lala@poste.it> Date: Sat, 2 Oct 2010 09:16:52 +0000 Subject: [PATCH] Document url_get_filename(). Originally committed as revision 25310 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/avio.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libavformat/avio.h b/libavformat/avio.h index 1e97357e389..223bb436a6b 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); /** -- GitLab