Commit 87d1de6c authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

qcap: Remove redundant filter state check.

parent 62daeec1
......@@ -149,9 +149,7 @@ static HRESULT WINAPI SmartTeeFilter_Stop(IBaseFilter *iface)
SmartTeeFilter *This = impl_from_IBaseFilter(iface);
TRACE("(%p)\n", This);
EnterCriticalSection(&This->filter.csFilter);
if(This->filter.state != State_Stopped) {
This->filter.state = State_Stopped;
}
LeaveCriticalSection(&This->filter.csFilter);
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