mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 12:06:32 +00:00
quartz: Fix error with operator precedence.
This commit is contained in:
parent
d9f755875b
commit
e6e4056e1e
1 changed files with 4 additions and 1 deletions
|
@ -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