From f988ce6cad8a98af1eaf260fb6995deac65542e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= Date: Sun, 31 May 2009 06:51:18 +0000 Subject: Add a lock manager API to libavcodec. Allows an application to register a callback that manages mutexes on behalf of FFmpeg. With this callback registered FFmpeg is fully thread safe. Originally committed as revision 19025 to svn://svn.ffmpeg.org/ffmpeg/trunk --- doc/APIchanges | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'doc') diff --git a/doc/APIchanges b/doc/APIchanges index c6e0a3b..c36ccfc 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -12,6 +12,14 @@ libavutil: 2009-03-08 API changes, most recent first: +2009-06-01 - r19025 - lavc 52.30.0 - av_lockmgr_register() + av_lockmgr_register() can be used to register a callback function + that lavc (and in the future, libraries that depend on lavc) can use + to implement mutexes. The application should provide a callback function + the implements the AV_LOCK_* operations described in avcodec.h. + When the lock manager is registered FFmpeg is guaranteed to behave + correct also in a multi-threaded application. + 2009-04-30 - r18719 - lavc 52.28.0 - av_free_packet av_free_packet() is no longer an inline function. It is now exported. -- cgit v1.1