[MPlayer-cvslog] CVS: main/libao2 ao_alsa.c,1.22,1.23

Dominik Mierzejewski CVS syncmail at mplayerhq.hu
Thu Jan 12 21:05:06 CET 2006


CVS change done by Dominik Mierzejewski CVS

Update of /cvsroot/mplayer/main/libao2
In directory mail:/var2/tmp/cvs-serv26918/libao2

Modified Files:
	ao_alsa.c 
Log Message:
massive attack: mp_msg printf format fixes


Index: ao_alsa.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_alsa.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- ao_alsa.c	15 Dec 2005 17:50:29 -0000	1.22
+++ ao_alsa.c	12 Jan 2006 20:04:33 -0000	1.23
@@ -610,11 +610,11 @@
 	if ((err = snd_pcm_hw_params_set_period_size_near(alsa_handler, alsa_hwparams, 
 							  &chunk_size, &dir)) < 0)
 	  {
-	    mp_msg(MSGT_AO,MSGL_ERR,"alsa-init: unable to set periodsize(%d): %s\n",
+	    mp_msg(MSGT_AO,MSGL_ERR,"alsa-init: unable to set periodsize(%ld): %s\n",
 			    chunk_size, snd_strerror(err));
 	  }
 	else {
-	  mp_msg(MSGT_AO,MSGL_V,"alsa-init: chunksize set to %i\n", chunk_size);
+	  mp_msg(MSGT_AO,MSGL_V,"alsa-init: chunksize set to %li\n", chunk_size);
 	}
 	if ((err = snd_pcm_hw_params_set_periods_near(alsa_handler, alsa_hwparams,
 						      &alsa_fragcount, &dir)) < 0) {




More information about the MPlayer-cvslog mailing list