summaryrefslogtreecommitdiff
path: root/libavformat/avio.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-09-01 12:26:28 -0300
committerJames Almer <jamrial@gmail.com>2017-09-01 12:26:36 -0300
commit877076ffa17bcf56badedc036cdc1adcd9f38b24 (patch)
treed77c93568bea088066170c4eafce3f89192c21af /libavformat/avio.h
parentadeb41afb80f0211af235f6d5b51df45a858170e (diff)
downloadffmpeg-877076ffa17bcf56badedc036cdc1adcd9f38b24.tar.gz
avformat/avio: update avio_alloc_context() doxy
It must be freed using avio_context_free() starting with commit b12e4d3bb8df994f042ff1216fb8de2b967aab9e. Found-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h2
1 files changed, 1 insertions, 1 deletions
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.