[Mplayer-cvslog] CVS: main/libao2 ao_win32.c,1.2,1.3
Sascha Sommer CVS
faust3 at mplayerhq.hu
Sat Mar 15 11:11:59 CET 2003
Update of /cvsroot/mplayer/main/libao2
In directory mail:/var/tmp.root/cvs-serv19891
Modified Files:
ao_win32.c
Log Message:
fix -loop problem
Index: ao_win32.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_win32.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ao_win32.c 30 Dec 2002 13:52:29 -0000 1.2
+++ ao_win32.c 15 Mar 2003 10:11:36 -0000 1.3
@@ -152,6 +152,7 @@
waveOutGetVolume(hWaveOut,&restoredvolume);
//allocate buffer memory as one big block
buffer = malloc(totalBufferSize);
+ memset(buffer,0x0,totalBufferSize);
//and setup pointers to each buffer
waveBlocks = (WAVEHDR*)buffer;
buffer += sizeof(WAVEHDR) * BUFFER_COUNT;
More information about the MPlayer-cvslog
mailing list