Skip to content
Snippets Groups Projects
Commit a950edb4 authored by Manfred Georg's avatar Manfred Georg Committed by Michael Niedermayer
Browse files

avcodec/utils: av_lockmgr_register defines behavior 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: default avatarMichael Niedermayer <michaelni@gmx.at>
parent cdd6f059
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment