From ac6691ab9938107d818cd8066ce3ea329ad14d8d Mon Sep 17 00:00:00 2001 From: James Almer Date: Fri, 1 Sep 2017 12:32:45 -0300 Subject: [PATCH] avio: update avio_alloc_context() doxy It must be freed using avio_context_free() starting with commit 99684f3ae752fc8bfb44a2dd1482f8d7a3d8536d. Signed-off-by: James Almer Signed-off-by: Luca Barbato --- libavformat/avio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/avio.h b/libavformat/avio.h index f604c4ad41..818fbaa505 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.