diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-31 16:31:43 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-04 17:45:20 +0200 |
commit | bc371aca468c3dd8d1a8cb2b44c99798f232b145 (patch) | |
tree | 00455bb9d3db8113fbc18b885deffef20752add8 /libavformat/avio.h | |
parent | 0589da0aa525e4ba7c554408339fa3e862402af5 (diff) | |
download | ffmpeg-bc371aca468c3dd8d1a8cb2b44c99798f232b145.tar.gz |
avio: make url_read() internal.
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r-- | libavformat/avio.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h index 02d05f64cb..84062eb3ce 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -105,20 +105,10 @@ attribute_deprecated int url_open_protocol (URLContext **puc, struct URLProtocol attribute_deprecated int url_alloc(URLContext **h, const char *url, int flags); attribute_deprecated int url_connect(URLContext *h); attribute_deprecated int url_open(URLContext **h, const char *url, int flags); +attribute_deprecated int url_read(URLContext *h, unsigned char *buf, int size); #endif /** - * Read up to size bytes from the resource accessed by h, and store - * the read bytes in buf. - * - * @return The number of bytes actually read, or a negative value - * corresponding to an AVERROR code in case of error. A value of zero - * indicates that it is not possible to read more from the accessed - * resource (except if the value of the size argument is also zero). - */ -int url_read(URLContext *h, unsigned char *buf, int size); - -/** * Read as many bytes as possible (up to size), calling the * read function multiple times if necessary. * This makes special short-read handling in applications |