1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

avio: document avio_close().

This commit is contained in:
Anton Khirnov
2011-04-09 12:43:51 +02:00
parent 893816ba1e
commit e782a0c6da

View File

@@ -555,6 +555,12 @@ int url_resetbuf(AVIOContext *s, int flags);
*/ */
int avio_open(AVIOContext **s, const char *url, int flags); int avio_open(AVIOContext **s, const char *url, int flags);
/**
* Close the resource accessed by the AVIOContext s and free it.
* This function can only be used if s was opened by avio_open().
*
* @return 0 on success, an AVERROR < 0 on error.
*/
int avio_close(AVIOContext *s); int avio_close(AVIOContext *s);
/** /**