aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/url.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-03-31 17:36:06 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-04 17:45:20 +0200
commite52a9145c8bf0748ae970e210e528ff56508964c (patch)
tree7fbe99aa17e8bc5d966cc4beadb4b8b2202b5a54 /libavformat/url.h
parent58a48c6511f1aded04885933fdb2449251f0ec64 (diff)
downloadffmpeg-e52a9145c8bf0748ae970e210e528ff56508964c.tar.gz
avio: make url_close() internal.
Diffstat (limited to 'libavformat/url.h')
-rw-r--r--libavformat/url.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavformat/url.h b/libavformat/url.h
index ad0f35de79..2ec3eb4a46 100644
--- a/libavformat/url.h
+++ b/libavformat/url.h
@@ -102,4 +102,13 @@ int ffurl_write(URLContext *h, const unsigned char *buf, int size);
*/
int64_t ffurl_seek(URLContext *h, int64_t pos, int whence);
+/**
+ * Close the resource accessed by the URLContext h, and free the
+ * memory used by it.
+ *
+ * @return a negative value if an error condition occurred, 0
+ * otherwise
+ */
+int ffurl_close(URLContext *h);
+
#endif //AVFORMAT_URL_H