mirror of
https://github.com/opencv/opencv.git
synced 2025-06-06 00:43:52 +08:00
set ffmpeg mutex to NULL on destruction.
This commit is contained in:
parent
047abb0050
commit
8d95c91805
@ -493,6 +493,7 @@ static int LockCallBack(void **mutex, AVLockOp op)
|
||||
localMutex->destroy();
|
||||
free(localMutex);
|
||||
localMutex = NULL;
|
||||
*mutex = NULL;
|
||||
break;
|
||||
}
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user