[PATCH] evr: Remove superfluous cast to self
Michael Stefaniuc
mstefani at winehq.org
Tue Mar 16 17:09:05 CDT 2021
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
dlls/evr/mixer.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/evr/mixer.c b/dlls/evr/mixer.c
index 52fc7d0cfcc..c59ec002340 100644
--- a/dlls/evr/mixer.c
+++ b/dlls/evr/mixer.c
@@ -899,7 +899,7 @@ static HRESULT WINAPI video_mixer_transform_GetInputCurrentType(IMFTransform *if
hr = MF_E_TRANSFORM_TYPE_NOT_SET;
else
{
- *type = (IMFMediaType *)stream->media_type;
+ *type = stream->media_type;
IMFMediaType_AddRef(*type);
}
}
@@ -925,7 +925,7 @@ static HRESULT WINAPI video_mixer_transform_GetOutputCurrentType(IMFTransform *i
hr = MF_E_TRANSFORM_TYPE_NOT_SET;
else
{
- *type = (IMFMediaType *)mixer->output.media_type;
+ *type = mixer->output.media_type;
IMFMediaType_AddRef(*type);
}
--
2.26.3
More information about the wine-devel
mailing list