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

Method ReleaseSideData

Source/MediaSampleSideData.cpp:79–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79void CMediaSampleSideData::ReleaseSideData()
80{
81 CAutoLock Lock(&m_csSideData);
82
83 for (auto& [guid, sd] : m_SideData) {
84 _aligned_free(sd.pData);
85 }
86
87 m_SideData.clear();
88}
89
90// IMediaSideData
91STDMETHODIMP CMediaSampleSideData::SetSideData(GUID guidType, const BYTE *pData, size_t size)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected