changeset 2813:9d53cc092c55 libavformat

document how to free the result of av_alloc_format_context()
author michael
date Sat, 15 Dec 2007 16:54:58 +0000
parents 173b5cb7efde
children 3fa92d78424c
files avformat.h
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/avformat.h	Wed Dec 12 19:01:58 2007 +0000
+++ b/avformat.h	Sat Dec 15 16:54:58 2007 +0000
@@ -569,7 +569,11 @@
                        AVInputFormat *fmt,
                        int buf_size,
                        AVFormatParameters *ap);
-/** no av_open for output, so applications will need this: */
+/**
+ * Allocate an AVFormatContext.
+ * can be freed with av_free() but dont forget to free everything you
+ * explicitly allocated as well!
+ */
 AVFormatContext *av_alloc_format_context(void);
 
 /**