summaryrefslogtreecommitdiff
path: root/libavformat/avio.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index 7f53fdddc6..cd78d932d9 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -109,18 +109,10 @@ attribute_deprecated int url_read(URLContext *h, unsigned char *buf, int size);
attribute_deprecated int url_read_complete(URLContext *h, unsigned char *buf, int size);
attribute_deprecated int url_write(URLContext *h, const unsigned char *buf, int size);
attribute_deprecated int64_t url_seek(URLContext *h, int64_t pos, int whence);
+attribute_deprecated int url_close(URLContext *h);
#endif
/**
- * 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 url_close(URLContext *h);
-
-/**
* Return a non-zero value if the resource indicated by url
* exists, 0 otherwise.
*/