diff options
author | Andreas Öman <andreas@lonelycoder.com> | 2009-05-31 06:51:18 +0000 |
---|---|---|
committer | Andreas Öman <andreas@lonelycoder.com> | 2009-05-31 06:51:18 +0000 |
commit | f988ce6cad8a98af1eaf260fb6995deac65542e5 (patch) | |
tree | f4785848576e8e2071a3a575217fcb4d5d3f7513 /doc/APIchanges | |
parent | b8df8d0d1c6b9b5f284319de4965276f6087e7cf (diff) | |
download | ffmpeg-f988ce6cad8a98af1eaf260fb6995deac65542e5.tar.gz |
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
Diffstat (limited to 'doc/APIchanges')
-rw-r--r-- | doc/APIchanges | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/APIchanges b/doc/APIchanges index c6e0a3bf67..c36ccfcbf8 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. |