From e52a9145c8bf0748ae970e210e528ff56508964c Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 31 Mar 2011 17:36:06 +0200 Subject: avio: make url_close() internal. --- libavformat/url.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libavformat/url.h') 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 -- cgit v1.2.3