Browse Source

document how to free the result of av_alloc_format_context()

Originally committed as revision 11225 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 18 years ago
parent
commit
88808c60af
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      libavformat/avformat.h

+ 5
- 1
libavformat/avformat.h View File

@@ -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