lavc: Introduce AVCodec internal capabilities
authorVittorio Giovara <vittorio.giovara@gmail.com>
Wed, 11 Mar 2015 20:43:58 +0000 (20:43 +0000)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Fri, 13 Mar 2015 19:47:47 +0000 (19:47 +0000)
commit117b432748ca87de4cd0f09d9b1495545e264733
tree0542c2432120a0e973bcc1748a717f122787f97c
parent9993a067f6c8c7e7838052ac3146aa6b80dd7e81
lavc: Introduce AVCodec internal capabilities

This field is designed for marking codec properties useful to lavc internals.
Two internal capabilities are added:
 - FF_CODEC_CAP_INIT_THREADSAFE: codec can be opened without locks;
 - FF_CODEC_CAP_INIT_CLEANUP: codec frees memory if initialization fails.
libavcodec/avcodec.h
libavcodec/internal.h
libavcodec/utils.c