Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-03-31 18:48:01 +0400
committerAnton Khirnov <anton@khirnov.net>2011-04-04 19:45:20 +0400
commit925e908bc7a3ddbd31f94ae9a67fbee170fef3d3 (patch)
treede510186fd62f65c2336a5cb2ef74b4aa0213147 /libavformat/url.h
parentdce375645945e31687493ebe82a7a89623e49bdc (diff)
avio: make url_write() internal.
Diffstat (limited to 'libavformat/url.h')
-rw-r--r--libavformat/url.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavformat/url.h b/libavformat/url.h
index 8d1a7f702c..45bf8c9397 100644
--- a/libavformat/url.h
+++ b/libavformat/url.h
@@ -78,4 +78,12 @@ int ffurl_read(URLContext *h, unsigned char *buf, int size);
*/
int ffurl_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
+ * corresponding to an AVERROR code in case of failure
+ */
+int ffurl_write(URLContext *h, const unsigned char *buf, int size);
+
#endif //AVFORMAT_URL_H