Commit 4749fa67 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

amstream: Remove useless cast to self.

parent 156965ea
......@@ -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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment