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; }