set ffmpeg mutex to NULL on destruction.

pull/3271/head
Manfred Georg 10 years ago
parent 047abb0050
commit 8d95c91805
  1. 1
      modules/videoio/src/cap_ffmpeg_impl.hpp

@ -493,6 +493,7 @@ static int LockCallBack(void **mutex, AVLockOp op)
localMutex->destroy();
free(localMutex);
localMutex = NULL;
*mutex = NULL;
break;
}
return 0;

Loading…
Cancel
Save