quartz: Changed assert conditional expression to avoid lego digital designer app crash on scrolling. This resolves the issue from bug #21378.

pgw12 at rcn.com pgw12 at rcn.com
Sat Sep 18 11:18:06 CDT 2010


From: Peter Williams <pgw12 at rcn.com>

---
 dlls/quartz/filesource.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/quartz/filesource.c b/dlls/quartz/filesource.c
index 110415d..751ee6d 100644
--- a/dlls/quartz/filesource.c
+++ b/dlls/quartz/filesource.c
@@ -1250,7 +1250,7 @@ static HRESULT WINAPI FileAsyncReader_WaitForNext(IAsyncReader * iface, DWORD dw
         IMediaSample_SetTime(pDataRq->pSample, &rtStart, &rtStop);
         assert(rtStart == rtSampleStart);
         if (hr == S_OK)
-            assert(rtStop == rtSampleStop);
+            assert(rtStop <= rtSampleStop);
         else
             assert(rtStop == rtStart);
 
-- 
1.7.2.3




More information about the wine-patches mailing list