quartz: Ensure pSample is NULL before calling IAsyncReader_WaitForNext.
This commit is contained in:
parent
253a587e47
commit
29a9ea18bc
|
@ -415,6 +415,7 @@ static void PullPin_Flush(PullPin *This)
|
|||
{
|
||||
DWORD_PTR dwUser;
|
||||
|
||||
pSample = NULL;
|
||||
IAsyncReader_WaitForNext(This->pReader, 0, &pSample, &dwUser);
|
||||
|
||||
if (!pSample)
|
||||
|
|
Loading…
Reference in New Issue