mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[KSPROXY]
- Fix some MSVC and GCC 4.7 warnings svn path=/trunk/; revision=58240
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user