Commit 2f736c4a authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

quartz: Fix inverted logic in memallocator.

parent 1e9dbcc5
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment