amstream: Constify a variable.

This commit is contained in:
Andrew Talbot 2007-02-12 20:58:47 +00:00 committed by Alexandre Julliard
parent f5f501d573
commit 8cbba46dba
1 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ typedef struct {
STREAM_TYPE StreamType;
} 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)
{
@ -166,7 +166,7 @@ static HRESULT WINAPI IMediaStreamImpl_SendEndOfStream(IMediaStream* iface, DWOR
return S_FALSE;
}
static IMediaStreamVtbl MediaStream_Vtbl =
static const struct IMediaStreamVtbl MediaStream_Vtbl =
{
IMediaStreamImpl_QueryInterface,
IMediaStreamImpl_AddRef,