Commit b2de3c36 authored by michael's avatar michael

document how to free the result of av_alloc_format_context()


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11225 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4ff4d4e2
...@@ -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