Module: wine Branch: master Commit: 29a9ea18bc3fa8148f1203e08ec276cb56720817 URL: http://source.winehq.org/git/wine.git/?a=commit;h=29a9ea18bc3fa8148f1203e08e...
Author: Bruno Jesus 00cpxxx@gmail.com Date: Sat Sep 5 00:25:43 2015 +0800
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 8377be5..52a3970 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)