mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 23:04:36 +00:00
quartz: Fix error with operator precedence.
This commit is contained in:
parent
d9f755875b
commit
e6e4056e1e
|
@ -683,7 +683,10 @@ static HRESULT WINAPI StdMediaSample2_SetDiscontinuity(IMediaSample2 * iface, BO
|
|||
|
||||
TRACE("(%s)\n", bIsDiscontinuity ? "TRUE" : "FALSE");
|
||||
|
||||
This->props.dwSampleFlags = (This->props.dwSampleFlags & ~AM_SAMPLE_DATADISCONTINUITY) | bIsDiscontinuity ? AM_SAMPLE_DATADISCONTINUITY : 0;
|
||||
if (bIsDiscontinuity)
|
||||
This->props.dwSampleFlags |= AM_SAMPLE_DATADISCONTINUITY;
|
||||
else
|
||||
This->props.dwSampleFlags &= ~AM_SAMPLE_DATADISCONTINUITY;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue