document how to free the result of av_alloc_format_context()
Originally committed as revision 11225 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
30dc554153
commit
88808c60af
1 changed files with 5 additions and 1 deletions
|
|
@ -569,7 +569,11 @@ int av_open_input_file(AVFormatContext **ic_ptr, const char *filename,
|
|||
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);
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue