From 877076ffa17bcf56badedc036cdc1adcd9f38b24 Mon Sep 17 00:00:00 2001 From: James Almer Date: Fri, 1 Sep 2017 12:26:28 -0300 Subject: avformat/avio: update avio_alloc_context() doxy It must be freed using avio_context_free() starting with commit b12e4d3bb8df994f042ff1216fb8de2b967aab9e. Found-by: Ronald S. Bultje Signed-off-by: James Almer --- libavformat/avio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/avio.h') diff --git a/libavformat/avio.h b/libavformat/avio.h index ea56dad503..89ad5c04ea 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -439,7 +439,7 @@ void avio_free_directory_entry(AVIODirEntry **entry); /** * 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. -- cgit v1.2.3