evr: Remove superfluous cast to self.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2021-03-16 23:09:05 +01:00 committed by Alexandre Julliard
parent 5e222064ab
commit 23d899c00c
1 changed files with 2 additions and 2 deletions

View File

@ -899,7 +899,7 @@ static HRESULT WINAPI video_mixer_transform_GetInputCurrentType(IMFTransform *if
hr = MF_E_TRANSFORM_TYPE_NOT_SET; hr = MF_E_TRANSFORM_TYPE_NOT_SET;
else else
{ {
*type = (IMFMediaType *)stream->media_type; *type = stream->media_type;
IMFMediaType_AddRef(*type); IMFMediaType_AddRef(*type);
} }
} }
@ -925,7 +925,7 @@ static HRESULT WINAPI video_mixer_transform_GetOutputCurrentType(IMFTransform *i
hr = MF_E_TRANSFORM_TYPE_NOT_SET; hr = MF_E_TRANSFORM_TYPE_NOT_SET;
else else
{ {
*type = (IMFMediaType *)mixer->output.media_type; *type = mixer->output.media_type;
IMFMediaType_AddRef(*type); IMFMediaType_AddRef(*type);
} }