mirror of
https://github.com/reactos/reactos.git
synced 2025-05-18 00:31:27 +00:00
[KSPROXY]
- Fix some MSVC and GCC 4.7 warnings svn path=/trunk/; revision=58240
This commit is contained in:
parent
f7a609c7fc
commit
50b1d52ba9
3 changed files with 3 additions and 3 deletions
|
@ -583,7 +583,7 @@ CKsAllocator::FreeMediaSamples()
|
|||
{
|
||||
IMediaSample * Sample = m_FreeList.top();
|
||||
m_FreeList.pop();
|
||||
delete Sample;
|
||||
Sample->Release();
|
||||
}
|
||||
|
||||
m_FreeSamples = false;
|
||||
|
|
|
@ -1681,7 +1681,7 @@ COutputPin::Connect(IPin *pReceivePin, const AM_MEDIA_TYPE *pmt)
|
|||
if (GetSupportedSets(&pGuid, &NumGuids))
|
||||
{
|
||||
// load all proxy plugins
|
||||
if (FAILED(LoadProxyPlugins(pGuid, NumGuids)));
|
||||
if (FAILED(LoadProxyPlugins(pGuid, NumGuids)))
|
||||
{
|
||||
#ifdef KSPROXY_TRACE
|
||||
OutputDebugStringW(L"COutputPin::Connect LoadProxyPlugins failed\n");
|
||||
|
|
|
@ -208,7 +208,6 @@ protected:
|
|||
|
||||
CKsProxy::CKsProxy() : m_Ref(0),
|
||||
m_pGraph(0),
|
||||
m_ReferenceClock((IReferenceClock*)this),
|
||||
m_FilterState(State_Stopped),
|
||||
m_hDevice(0),
|
||||
m_Plugins(),
|
||||
|
@ -216,6 +215,7 @@ CKsProxy::CKsProxy() : m_Ref(0),
|
|||
m_DevicePath(0),
|
||||
m_hClock(0)
|
||||
{
|
||||
m_ReferenceClock = this;
|
||||
InitializeCriticalSection(&m_Lock);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue