document how to free the result of av_alloc_format_context()

Originally committed as revision 11225 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 17 years ago
parent 30dc554153
commit 88808c60af
  1. 6
      libavformat/avformat.h

@ -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…
Cancel
Save