projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
auto keyframe color prefs, colorpicker rework, ru.po update, keyframe align fixes...
[goodguy/history.git]
/
cinelerra-5.1
/
guicast
/
mutex.C
diff --git
a/cinelerra-5.1/guicast/mutex.C
b/cinelerra-5.1/guicast/mutex.C
index a4a6e21f99f605c1e30fe7a7ffb6092cad5ab40b..6bbf279e78396f033460a1a8cfd20a3f150e3561 100644
(file)
--- a/
cinelerra-5.1/guicast/mutex.C
+++ b/
cinelerra-5.1/guicast/mutex.C
@@
-96,6
+96,10
@@
int Mutex::lock(const char *location)
int Mutex::unlock()
{
int Mutex::unlock()
{
+ if( count <= 0 ) {
+ printf("Mutex::unlock not locked: %s\n", title);
+ return 0;
+ }
// Remove from recursive status
if(recursive)
{
// Remove from recursive status
if(recursive)
{