[MPlayer-cvslog] CVS: main/libao2 ao_alsa.c,1.20,1.21

Dominik Mierzejewski CVS syncmail at mplayerhq.hu
Mon Dec 5 02:31:05 CET 2005


CVS change done by Dominik Mierzejewski CVS

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

Modified Files:
	ao_alsa.c 
Log Message:
fix
ao_alsa.c:115: warning: suggest parentheses around assignment used as truth value


Index: ao_alsa.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_alsa.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- ao_alsa.c	25 Aug 2005 21:46:32 -0000	1.20
+++ ao_alsa.c	5 Dec 2005 01:31:03 -0000	1.21
@@ -112,7 +112,7 @@
 	 char *test_mix_index;
 
 	 mix_name = strdup(mixer_channel);
-	 if (test_mix_index = strchr(mix_name, ',')){
+	 if ((test_mix_index = strchr(mix_name, ','))){
 		*test_mix_index = 0;
 		test_mix_index++;
 		mix_index = strtol(test_mix_index, &test_mix_index, 0);




More information about the MPlayer-cvslog mailing list