[FFmpeg-cvslog] r11225 - trunk/libavformat/avformat.h
michael
subversion
Sat Dec 15 17:54:59 CET 2007
Author: michael
Date: Sat Dec 15 17:54:58 2007
New Revision: 11225
Log:
document how to free the result of av_alloc_format_context()
Modified:
trunk/libavformat/avformat.h
Modified: trunk/libavformat/avformat.h
==============================================================================
--- trunk/libavformat/avformat.h (original)
+++ trunk/libavformat/avformat.h Sat Dec 15 17:54:58 2007
@@ -569,7 +569,11 @@ int av_open_input_file(AVFormatContext *
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);
/**
More information about the ffmpeg-cvslog
mailing list