Skip to content

Commit

Permalink
Use correct lock
Browse files Browse the repository at this point in the history
  • Loading branch information
tshino committed Dec 26, 2023
1 parent a3b1f35 commit 24d85cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/softcamcore/DShowSoftcam.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ Softcam::releaseFrameBuffer()
const DefaultImage*
Softcam::getDefaultImage()
{
CAutoLock lock(&m_cStateLock);
CAutoLock lock(&m_critsec);
if (m_default_image)
{
return &m_default_image;
Expand Down

0 comments on commit 24d85cd

Please sign in to comment.