]> granicus.if.org Git - libvpx/commit
rtcd/win32: use InitializeCriticalSection explicitly
authorJohn Koleszar <jkoleszar@google.com>
Mon, 24 Sep 2012 21:52:18 +0000 (14:52 -0700)
committerJohn Koleszar <jkoleszar@google.com>
Wed, 3 Oct 2012 17:56:37 +0000 (10:56 -0700)
commit9bbab8e457ff4b4b60ffd8deac98ce49797d4133
treee49e0e2a793e1106558494a6a8f1f76d21285e70
parent0211cd899a359538feef4f21b41c152d0a4cace3
rtcd/win32: use InitializeCriticalSection explicitly

Protect the call to {Initialize,Delete}CriticalSection() with an
Interlocked{Inc,Dec}rement() pair, rather than the previous static
initialization. This should play better with AppVerifier, and fix issue

  http://code.google.com/p/webm/issues/detail?id=467

Change-Id: I06eadbfac1b3b4414adb8eac862ef9bd14bbe4ad
vp8/common/rtcd.c