OSDN Git Service

lavc: specify the behavior of av_lockmgr_register on failure.
authorManfred Georg <mgeorg@google.com>
Thu, 2 Oct 2014 20:19:34 +0000 (13:19 -0700)
committerAnton Khirnov <anton@khirnov.net>
Mon, 6 Oct 2014 18:20:17 +0000 (18:20 +0000)
commit577899a6458ccad9026eb268f10dc0b39c224c8d
tree40ad10ccb361915783b26e5d9d31b3a9975915be
parent8de1d67967a9f9e22c66cb0c1e518ae4f30d07dd
lavc: specify the behavior of av_lockmgr_register on failure.

The register function now specifies that the user callback should
leave things in the same state that it found them on failure but
that failure to destroy is ignored by the library.  The register
function is now explicit about its behavior on failure
(it unregisters the previous callback and destroys all mutex).

Signed-off-by: Manfred Georg <mgeorg@google.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/avcodec.h
libavcodec/utils.c
libavcodec/version.h