quartz: Fix testing of HRESULT types with not operator instead of comparing against S_OK.
This makes it more obvious what the code is doing.
This commit is contained in:
parent
e57697a04b
commit
03a25b487f
|
@ -254,7 +254,7 @@ static HRESULT ForwardCmdSeek( PCRITICAL_SECTION crit_sect, IBaseFilter* from, S
|
||||||
IMediaSeeking *seek = NULL;
|
IMediaSeeking *seek = NULL;
|
||||||
|
|
||||||
hr_local = IPin_QueryInterface( connected, &IID_IMediaSeeking, (void**)&seek );
|
hr_local = IPin_QueryInterface( connected, &IID_IMediaSeeking, (void**)&seek );
|
||||||
if (!hr_local)
|
if (hr_local == S_OK)
|
||||||
{
|
{
|
||||||
foundend = TRUE;
|
foundend = TRUE;
|
||||||
if (crit_sect)
|
if (crit_sect)
|
||||||
|
|
Loading…
Reference in New Issue