summaryrefslogtreecommitdiff
path: root/libavformat/avio.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-03-31 16:40:31 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-04 17:45:20 +0200
commitdce375645945e31687493ebe82a7a89623e49bdc (patch)
tree2e28cf8a7b9a297545edb73b923f17ebd66c1f0c /libavformat/avio.h
parentbc371aca468c3dd8d1a8cb2b44c99798f232b145 (diff)
avio: make url_read_complete() internal.
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index 84062eb3ce..2b1c6ff913 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -106,18 +106,10 @@ 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);
+attribute_deprecated int url_read_complete(URLContext *h, unsigned char *buf, int size);
#endif
/**
- * 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
- * unnecessary, if the return value is < size then it is
- * certain there was either an error or the end of file was reached.
- */
-int url_read_complete(URLContext *h, unsigned char *buf, int size);
-
-/**
* Write size bytes from buf to the resource accessed by h.
*
* @return the number of bytes actually written, or a negative value