amstream: Constify a variable (Try 2)
Andrew Talbot
Andrew.Talbot at talbotville.com
Mon Feb 12 14:58:47 CST 2007
Sorry. I had wordwrap on, the first time.
-- Andy.
---
Changelog:
amstream: Constify a variable.
diff -urN a/dlls/amstream/mediastream.c b/dlls/amstream/mediastream.c
--- a/dlls/amstream/mediastream.c 2006-10-07 17:37:06.000000000 +0100
+++ b/dlls/amstream/mediastream.c 2007-02-12 20:53:44.000000000 +0000
@@ -42,7 +42,7 @@
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 @@
return S_FALSE;
}
-static IMediaStreamVtbl MediaStream_Vtbl =
+static const struct IMediaStreamVtbl MediaStream_Vtbl =
{
IMediaStreamImpl_QueryInterface,
IMediaStreamImpl_AddRef,
More information about the wine-patches
mailing list