On 01/09/2017 17:32, James Almer wrote:
It must be freed using avio_context_free() starting with commit
99684f3ae752fc8bfb44a2dd1482f8d7a3d8536d.
Signed-off-by: James Almer <[email protected]>
---
libavformat/avio.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/avio.h b/libavformat/avio.h
index f604c4ad4..818fbaa50 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -195,7 +195,7 @@ int avio_check(const char *url, int flags);
/**
* Allocate and initialize an AVIOContext for buffered I/O. It must be later
- * freed with av_free().
+ * freed with avio_context_free().
*
* @param buffer Memory block for input/output operations via AVIOContext.
* The buffer must be allocated with av_malloc() and friends.
Sounds good.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel