Browse Source

documented that av_codec_close is required to call

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.1
Anshul Maheshwari Michael Niedermayer 12 years ago
parent
commit
a553cb4683
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libavformat/avformat.h

+ 3
- 0
libavformat/avformat.h View File

@@ -1405,6 +1405,9 @@ const AVClass *avformat_get_class(void);
*
* When muxing, should be called by the user before avformat_write_header().
*
* User is required to call avcodec_close() and avformat_free_context() to
* clean up the allocation by avformat_new_stream().
*
* @param c If non-NULL, the AVCodecContext corresponding to the new stream
* will be initialized to use this codec. This is needed for e.g. codec-specific
* defaults to be set, so codec should be provided if it is known.


Loading…
Cancel
Save