From 29a9ea18bc3fa8148f1203e08ec276cb56720817 Mon Sep 17 00:00:00 2001 From: Bruno Jesus <00cpxxx@gmail.com> Date: Sat, 5 Sep 2015 00:25:43 +0800 Subject: [PATCH] quartz: Ensure pSample is NULL before calling IAsyncReader_WaitForNext. --- dlls/quartz/pin.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/quartz/pin.c b/dlls/quartz/pin.c index 8377be57559..52a397021e0 100644 --- a/dlls/quartz/pin.c +++ b/dlls/quartz/pin.c @@ -415,6 +415,7 @@ static void PullPin_Flush(PullPin *This) { DWORD_PTR dwUser; + pSample = NULL; IAsyncReader_WaitForNext(This->pReader, 0, &pSample, &dwUser); if (!pSample)