[DMUSIC] minor fixes
Raphael
fenix at club-internet.fr
Fri Apr 2 00:49:28 CST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Changelog:
- initialize correctly the DMUS_OBJECTDESC local structure
Regards,
Raphael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAbQz6p7NA3AmQTU4RAi82AJ9KuApUcC08ZV8Q0q5PeVh3fzILkgCeOXU1
pzrADWeH9afEU8/hcNK1JUY=
=8USS
-----END PGP SIGNATURE-----
-------------- next part --------------
? dmscript.spec.c
Index: script.c
===================================================================
RCS file: /home/wine/wine/dlls/dmscript/script.c,v
retrieving revision 1.8
diff -u -r1.8 script.c
--- script.c 12 Mar 2004 01:53:05 -0000 1.8
+++ script.c 2 Apr 2004 06:45:54 -0000
@@ -503,7 +503,9 @@
case FOURCC_RIFF: {
IDirectMusicObject* pObject = NULL;
DMUS_OBJECTDESC desc;
-
+
+ ZeroMemory ((LPVOID)&desc, sizeof(DMUS_OBJECTDESC));
+ desc.dwSize = sizeof(DMUS_OBJECTDESC);
desc.dwValidData = DMUS_OBJ_STREAM | DMUS_OBJ_CLASS;
desc.guidClass = CLSID_DirectMusicContainer;
desc.pStream = NULL;
More information about the wine-patches
mailing list