mirror of
https://github.com/opencv/opencv.git
synced 2025-06-12 12:22:51 +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();
|
localMutex->destroy();
|
||||||
free(localMutex);
|
free(localMutex);
|
||||||
localMutex = NULL;
|
localMutex = NULL;
|
||||||
|
*mutex = NULL;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user