amstream: 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:
Michael Stefaniuc 2019-02-11 22:34:56 +01:00 committed by Alexandre Julliard
parent 156965eae9
commit 4749fa6767
1 changed files with 1 additions and 1 deletions

View File

@ -1543,7 +1543,7 @@ static HRESULT audiostreamsample_create(IAudioMediaStream *parent, IAudioData *a
object->parent = (IMediaStream*)parent;
object->audio_data = audio_data;
*audio_stream_sample = (IAudioStreamSample*)&object->IAudioStreamSample_iface;
*audio_stream_sample = &object->IAudioStreamSample_iface;
return S_OK;
}