Commit e0851fc1 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

amstream: Remove superfluous casts.

parent 568a8b84
......@@ -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)
{
......
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