amstream: Remove superfluous casts.
This commit is contained in:
parent
568a8b845a
commit
e0851fc1fa
|
@ -82,15 +82,15 @@ static HRESULT WINAPI MediaStreamFilterImpl_QueryInterface(IMediaStreamFilter *
|
||||||
*ppv = NULL;
|
*ppv = NULL;
|
||||||
|
|
||||||
if (IsEqualIID(riid, &IID_IUnknown))
|
if (IsEqualIID(riid, &IID_IUnknown))
|
||||||
*ppv = (LPVOID)This;
|
*ppv = This;
|
||||||
else if (IsEqualIID(riid, &IID_IPersist))
|
else if (IsEqualIID(riid, &IID_IPersist))
|
||||||
*ppv = (LPVOID)This;
|
*ppv = This;
|
||||||
else if (IsEqualIID(riid, &IID_IMediaFilter))
|
else if (IsEqualIID(riid, &IID_IMediaFilter))
|
||||||
*ppv = (LPVOID)This;
|
*ppv = This;
|
||||||
else if (IsEqualIID(riid, &IID_IBaseFilter))
|
else if (IsEqualIID(riid, &IID_IBaseFilter))
|
||||||
*ppv = (LPVOID)This;
|
*ppv = This;
|
||||||
else if (IsEqualIID(riid, &IID_IMediaStreamFilter))
|
else if (IsEqualIID(riid, &IID_IMediaStreamFilter))
|
||||||
*ppv = (LPVOID)This;
|
*ppv = This;
|
||||||
|
|
||||||
if (*ppv)
|
if (*ppv)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue