quartz: Set filesource initial state to stopped.

Fixes a bug valgrind found.
This commit is contained in:
Maarten Lankhorst 2008-07-03 18:21:37 -07:00 committed by Alexandre Julliard
parent 8b65914cf9
commit ee317b19b2

View File

@ -355,6 +355,7 @@ HRESULT AsyncReader_create(IUnknown * pUnkOuter, LPVOID * ppv)
pAsyncRead->filterInfo.pGraph = NULL;
pAsyncRead->pOutputPin = NULL;
pAsyncRead->lastpinchange = GetTickCount();
pAsyncRead->state = State_Stopped;
InitializeCriticalSection(&pAsyncRead->csFilter);
pAsyncRead->csFilter.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": AsyncReader.csFilter");