quartz: Fix inverted logic in memallocator.

This commit is contained in:
Maarten Lankhorst 2008-04-22 13:37:05 -07:00 committed by Alexandre Julliard
parent 1e9dbcc512
commit 2f736c4a5a

View file

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