Michael Stefaniuc : evr: Remove superfluous cast to self.
Alexandre Julliard
julliard at winehq.org
Wed Mar 17 16:23:14 CDT 2021
Module: wine
Branch: master
Commit: 23d899c00c0d714ab32d03bd7cc2e4e83c222ac3
URL: https://source.winehq.org/git/wine.git/?a=commit;h=23d899c00c0d714ab32d03bd7cc2e4e83c222ac3
Author: Michael Stefaniuc <mstefani at winehq.org>
Date: Tue Mar 16 23:09:05 2021 +0100
evr: Remove superfluous cast to self.
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Alexandre Julliard <julliard 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);
}
More information about the wine-cvs
mailing list