[PATCH] Document url_write().

Stefano Sabatini stefano.sabatini-lala
Wed Oct 6 20:45:25 CEST 2010


---
 libavformat/avio.h |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/libavformat/avio.h b/libavformat/avio.h
index 118b7f2..b680913 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);
 
 /**
-- 
1.7.1


--PEIAKu/WMn1b1Hv9--



More information about the ffmpeg-devel mailing list