From 2f736c4a5a6e1c652073cc5cc49b3e7bf0f42ba3 Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Tue, 22 Apr 2008 13:37:05 -0700 Subject: [PATCH] quartz: Fix inverted logic in memallocator. --- dlls/quartz/memallocator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/quartz/memallocator.c b/dlls/quartz/memallocator.c index b473b57e65e..cd87a34bc89 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; } -- 2.11.4.GIT