Commit 8d95c918 authored by Manfred Georg's avatar Manfred Georg

set ffmpeg mutex to NULL on destruction.

parent 047abb00
...@@ -493,6 +493,7 @@ static int LockCallBack(void **mutex, AVLockOp op) ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment