diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-31 16:48:01 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-04 17:45:20 +0200 |
commit | 925e908bc7a3ddbd31f94ae9a67fbee170fef3d3 (patch) | |
tree | de510186fd62f65c2336a5cb2ef74b4aa0213147 /libavformat/url.h | |
parent | dce375645945e31687493ebe82a7a89623e49bdc (diff) | |
download | ffmpeg-925e908bc7a3ddbd31f94ae9a67fbee170fef3d3.tar.gz |
avio: make url_write() internal.
Diffstat (limited to 'libavformat/url.h')
-rw-r--r-- | libavformat/url.h | 8 |
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 |