diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-31 18:00:55 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-04 17:45:20 +0200 |
commit | 727c7aa02642c97b68356d40d1a8e9e835ba1a69 (patch) | |
tree | a33890f30f32c246a39f056508c1496351625b7f /libavformat/avio.h | |
parent | 5958df341de69d94b9958c10cc4aaca510b8cd24 (diff) | |
download | ffmpeg-727c7aa02642c97b68356d40d1a8e9e835ba1a69.tar.gz |
avio: deprecate url_get_filename().
URLContext.filename should be used directly.
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r-- | libavformat/avio.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h index 4c2b4d57a2..427aa8c938 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -113,6 +113,7 @@ attribute_deprecated int url_close(URLContext *h); attribute_deprecated int64_t url_filesize(URLContext *h); attribute_deprecated int url_get_file_handle(URLContext *h); attribute_deprecated int url_get_max_packet_size(URLContext *h); +attribute_deprecated void url_get_filename(URLContext *h, char *buf, int buf_size); #endif /** @@ -122,13 +123,6 @@ attribute_deprecated int url_get_max_packet_size(URLContext *h); int url_exist(const char *url); /** - * 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); - -/** * The callback is called in blocking functions to test regulary if * asynchronous interruption is needed. AVERROR_EXIT is returned * in this case by the interrupted function. 'NULL' means no interrupt |