--- libavformat/avio.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/libavformat/avio.h b/libavformat/avio.h index b1bce4c..cfe1bf8 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -559,6 +559,12 @@ int url_resetbuf(AVIOContext *s, 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); /** -- 1.7.4.1 _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
