Commit 88808c60 authored by Michael Niedermayer's avatar Michael Niedermayer

document how to free the result of av_alloc_format_context()

Originally committed as revision 11225 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 30dc5541
...@@ -569,7 +569,11 @@ int av_open_input_file(AVFormatContext **ic_ptr, const char *filename, ...@@ -569,7 +569,11 @@ int av_open_input_file(AVFormatContext **ic_ptr, const char *filename,
AVInputFormat *fmt, AVInputFormat *fmt,
int buf_size, int buf_size,
AVFormatParameters *ap); 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); AVFormatContext *av_alloc_format_context(void);
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment