quartz: Ensure pSample is NULL before calling IAsyncReader_WaitForNext.

This commit is contained in:
Bruno Jesus 2015-09-05 00:25:43 +08:00 committed by Alexandre Julliard
parent 253a587e47
commit 29a9ea18bc
1 changed files with 1 additions and 0 deletions

View File

@ -415,6 +415,7 @@ static void PullPin_Flush(PullPin *This)
{
DWORD_PTR dwUser;
pSample = NULL;
IAsyncReader_WaitForNext(This->pReader, 0, &pSample, &dwUser);
if (!pSample)