Commit f9a186c5 authored by Hendrik Leppkes's avatar Hendrik Leppkes

Merge commit '2ef6dab0'

* commit '2ef6dab0':
  lavc: document that avcodec_close() should not be used
Merged-by: 's avatarHendrik Leppkes <h.leppkes@gmail.com>
parents 69c38d64 2ef6dab0
......@@ -4271,6 +4271,11 @@ int avcodec_open2(AVCodecContext *avctx, const AVCodec *codec, AVDictionary **op
* Calling this function on an AVCodecContext that hasn't been opened will free
* the codec-specific data allocated in avcodec_alloc_context3() with a non-NULL
* codec. Subsequent calls will do nothing.
*
* @note Do not use this function. Use avcodec_free_context() to destroy a
* codec context (either open or closed). Opening and closing a codec context
* multiple times is not supported anymore -- use multiple codec contexts
* instead.
*/
int avcodec_close(AVCodecContext *avctx);
......
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