aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avio.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-10-31 16:11:56 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-10-31 16:11:56 +0000
commit267ff3aed1e795f3fc3318e595cfdd62077f31ae (patch)
tree214ec8ebe7961c4a959dfab21116927f8ed357e4 /libavformat/avio.h
parent05c018078c959538a790fccbf508c42a6df7d5e5 (diff)
downloadffmpeg-267ff3aed1e795f3fc3318e595cfdd62077f31ae.tar.gz
Document url_write().
Originally committed as revision 25613 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index cccf21d6d8..28c7d58f50 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -132,6 +132,13 @@ int url_read(URLContext *h, unsigned char *buf, int size);
* 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
+ * corresponding to an AVERROR code in case of failure
+ */
int url_write(URLContext *h, const unsigned char *buf, int size);
/**