amstream: Remove superfluous casts.

This commit is contained in:
Michael Stefaniuc 2009-01-08 00:38:16 +01:00 committed by Alexandre Julliard
parent 568a8b845a
commit e0851fc1fa
1 changed files with 5 additions and 5 deletions

View File

@ -82,15 +82,15 @@ static HRESULT WINAPI MediaStreamFilterImpl_QueryInterface(IMediaStreamFilter *
*ppv = NULL;
if (IsEqualIID(riid, &IID_IUnknown))
*ppv = (LPVOID)This;
*ppv = This;
else if (IsEqualIID(riid, &IID_IPersist))
*ppv = (LPVOID)This;
*ppv = This;
else if (IsEqualIID(riid, &IID_IMediaFilter))
*ppv = (LPVOID)This;
*ppv = This;
else if (IsEqualIID(riid, &IID_IBaseFilter))
*ppv = (LPVOID)This;
*ppv = This;
else if (IsEqualIID(riid, &IID_IMediaStreamFilter))
*ppv = (LPVOID)This;
*ppv = This;
if (*ppv)
{