lavc: replace and deprecate the lock manager

Multimedia / FFmpeg - wm4 [googlemail.com] - 26 December 2017 01:50 EST

Use static mutexes instead of requiring a lock manager. The behavior should be roughly the same before and after this change for API users which did not set the lock manager at all (except that a minor memory leak disappears).

a04c2c707d lavc: replace and deprecate the lock manager
doc/APIchanges | 5 +++
libavcodec/avcodec.h | 8 +++-
libavcodec/utils.c | 107 +++++----------------------------------------------
libavcodec/version.h | 5 ++-
libavutil/thread.h | 2 +
5 files changed, 28 insertions(+), 99 deletions(-)

  • Share