[FFmpeg-cvslog] r21420 - trunk/libavformat/avio.h
stefano
subversion
Sun Jan 24 17:33:57 CET 2010
Author: stefano
Date: Sun Jan 24 17:33:56 2010
New Revision: 21420
Log:
Doxument url_close().
Modified:
trunk/libavformat/avio.h
Modified: trunk/libavformat/avio.h
==============================================================================
--- trunk/libavformat/avio.h Sun Jan 24 17:22:09 2010 (r21419)
+++ trunk/libavformat/avio.h Sun Jan 24 17:33:56 2010 (r21420)
@@ -103,7 +103,16 @@ int url_read(URLContext *h, unsigned cha
int url_read_complete(URLContext *h, unsigned char *buf, int size);
int url_write(URLContext *h, unsigned char *buf, int size);
int64_t url_seek(URLContext *h, int64_t pos, int whence);
+
+/**
+ * Closes the resource accessed by the URLContext h, and frees the
+ * memory used by it.
+ *
+ * @return a negative value if an error condition occurred, 0
+ * otherwise
+ */
int url_close(URLContext *h);
+
int url_exist(const char *filename);
int64_t url_filesize(URLContext *h);
More information about the ffmpeg-cvslog
mailing list