Maarten Lankhorst : quartz: Fix inverted logic in memallocator.
Alexandre Julliard
julliard at winehq.org
Wed Apr 23 07:59:38 CDT 2008
Module: wine
Branch: master
Commit: 2f736c4a5a6e1c652073cc5cc49b3e7bf0f42ba3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2f736c4a5a6e1c652073cc5cc49b3e7bf0f42ba3
Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date: Tue Apr 22 13:37:05 2008 -0700
quartz: Fix inverted logic in memallocator.
---
dlls/quartz/memallocator.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/quartz/memallocator.c b/dlls/quartz/memallocator.c
index b473b57..cd87a34 100644
--- a/dlls/quartz/memallocator.c
+++ b/dlls/quartz/memallocator.c
@@ -610,9 +610,9 @@ static HRESULT WINAPI StdMediaSample2_SetPreroll(IMediaSample2 * iface, BOOL bIs
TRACE("(%s)\n", bIsPreroll ? "TRUE" : "FALSE");
if (bIsPreroll)
- This->props.dwSampleFlags &= ~AM_SAMPLE_PREROLL;
- else
This->props.dwSampleFlags |= AM_SAMPLE_PREROLL;
+ else
+ This->props.dwSampleFlags &= ~AM_SAMPLE_PREROLL;
return S_OK;
}
More information about the wine-cvs
mailing list