Commit be920e48 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '5637ff01'

* commit '5637ff01':
  libavcodec: Clarify the documentation of the internal codec capability flags
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents db4ac46f 5637ff01
......@@ -34,11 +34,16 @@
#include "config.h"
/**
* Codec is thread safe.
* The codec does not modify any global variables in the init function,
* allowing to call the init function without locking any global mutexes.
*/
#define FF_CODEC_CAP_INIT_THREADSAFE (1 << 0)
/**
* Codec cleans up memory on init failure.
* The codec allows calling the close function for deallocation even if
* the init function returned a failure. Without this capability flag, a
* codec does such cleanup internally when returning failures from the
* init function and does not expect the close function to be called at
* all.
*/
#define FF_CODEC_CAP_INIT_CLEANUP (1 << 1)
......
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