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:
parent
156965eae9
commit
4749fa6767
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue