[FFmpeg-cvslog] avformat/avio: update avio_alloc_context() doxy
James Almer
git at videolan.org
Fri Sep 1 18:27:59 EEST 2017
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Fri Sep 1 12:26:28 2017 -0300| [877076ffa17bcf56badedc036cdc1adcd9f38b24] | committer: James Almer
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 at gmail.com>
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=877076ffa17bcf56badedc036cdc1adcd9f38b24
---
libavformat/avio.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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.
More information about the ffmpeg-cvslog
mailing list