Commit 8cbba46d authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

amstream: Constify a variable.

parent f5f501d5
...@@ -42,7 +42,7 @@ typedef struct { ...@@ -42,7 +42,7 @@ typedef struct {
STREAM_TYPE StreamType; STREAM_TYPE StreamType;
} IMediaStreamImpl; } IMediaStreamImpl;
static struct IMediaStreamVtbl MediaStream_Vtbl; static const struct IMediaStreamVtbl MediaStream_Vtbl;
HRESULT MediaStream_create(IMultiMediaStream* Parent, const MSPID* pPurposeId, STREAM_TYPE StreamType, IMediaStream** ppMediaStream) HRESULT MediaStream_create(IMultiMediaStream* Parent, const MSPID* pPurposeId, STREAM_TYPE StreamType, IMediaStream** ppMediaStream)
{ {
...@@ -166,7 +166,7 @@ static HRESULT WINAPI IMediaStreamImpl_SendEndOfStream(IMediaStream* iface, DWOR ...@@ -166,7 +166,7 @@ static HRESULT WINAPI IMediaStreamImpl_SendEndOfStream(IMediaStream* iface, DWOR
return S_FALSE; return S_FALSE;
} }
static IMediaStreamVtbl MediaStream_Vtbl = static const struct IMediaStreamVtbl MediaStream_Vtbl =
{ {
IMediaStreamImpl_QueryInterface, IMediaStreamImpl_QueryInterface,
IMediaStreamImpl_AddRef, IMediaStreamImpl_AddRef,
......
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