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:
parent
5e222064ab
commit
23d899c00c
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue