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/avio.h | |
parent | dce375645945e31687493ebe82a7a89623e49bdc (diff) | |
download | ffmpeg-925e908bc7a3ddbd31f94ae9a67fbee170fef3d3.tar.gz |
avio: make url_write() internal.
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r-- | libavformat/avio.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h index 2b1c6ff913..41b3cafbd2 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -107,17 +107,10 @@ 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); +attribute_deprecated int url_write(URLContext *h, const unsigned char *buf, int size); #endif /** - * 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 url_write(URLContext *h, const unsigned char *buf, int size); - -/** * Passing this as the "whence" parameter to a seek function causes it to * return the filesize without seeking anywhere. Supporting this is optional. * If it is not supported then the seek function will return <0. |