mfreadwrite: Remove useless cast to self.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d91cd1ca59
commit
1d1c038391
|
@ -318,7 +318,7 @@ static HRESULT create_source_reader_from_url(const WCHAR *url, IMFAttributes *at
|
||||||
return hr;
|
return hr;
|
||||||
|
|
||||||
hr = IMFSourceResolver_CreateObjectFromURL(resolver, url, MF_RESOLUTION_MEDIASOURCE, NULL, &obj_type,
|
hr = IMFSourceResolver_CreateObjectFromURL(resolver, url, MF_RESOLUTION_MEDIASOURCE, NULL, &obj_type,
|
||||||
(IUnknown **)&object);
|
&object);
|
||||||
if (SUCCEEDED(hr))
|
if (SUCCEEDED(hr))
|
||||||
{
|
{
|
||||||
switch (obj_type)
|
switch (obj_type)
|
||||||
|
|
Loading…
Reference in New Issue