MCPcopy Create free account
hub / github.com/Aleksoid1978/VideoRenderer / Release

Method Release

Source/VideoProcessor.cpp:328–336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326}
327
328STDMETHODIMP_(ULONG) CVideoProcessor::Release()
329{
330 ULONG uCount = InterlockedDecrement(&m_nRefCount);
331 if (uCount == 0) {
332 delete this;
333 }
334 // For thread safety, return a temporary variable.
335 return uCount;
336}
337
338// IMFVideoProcessor
339

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected