set ffmpeg mutex to NULL on destruction.

This commit is contained in:
Manfred Georg 2014-09-26 09:44:25 -07:00
parent 047abb0050
commit 8d95c91805

View File

@ -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;