[Mplayer-cvslog] CVS: main/libao2 ao_alsa5.c,1.8,1.9

pl pl at mplayer.dev.hu
Mon Dec 24 11:35:45 CET 2001


Update of /cvsroot/mplayer/main/libao2
In directory mplayer:/var/tmp.root/cvs-serv11438/libao2

Modified Files:
	ao_alsa5.c 
Log Message:
memset is more portable than bzero ("BSD"ism)


Index: ao_alsa5.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_alsa5.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ao_alsa5.c	24 Nov 2001 05:21:21 -0000	1.8
+++ ao_alsa5.c	24 Dec 2001 10:35:42 -0000	1.9
@@ -173,7 +173,7 @@
 
     if (info.flags & SND_PCM_INFO_PLAYBACK)
     {
-	bzero(&chninfo, sizeof(chninfo));
+	memset(&chninfo, 0, sizeof(chninfo));
 	chninfo.channel = SND_PCM_CHANNEL_PLAYBACK;
 	if ((err = snd_pcm_channel_info(alsa_handler, &chninfo)) < 0)
 	{




More information about the MPlayer-cvslog mailing list