[Mplayer-cvslog] CVS: main/libao2 ao_oss.c,1.42,1.43

Richard Felker CVS syncmail at mplayerhq.hu
Sat May 1 21:44:01 CEST 2004


CVS change done by Richard Felker CVS

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

Modified Files:
	ao_oss.c 
Log Message:
ok this one is beyond stupid. the code didn't even do what was intended

Index: ao_oss.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_oss.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- ao_oss.c	6 Apr 2004 17:55:36 -0000	1.42
+++ ao_oss.c	1 May 2004 19:43:59 -0000	1.43
@@ -46,7 +46,7 @@
 	    dsp=(char*)arg;
 	    return CONTROL_OK;
 	case AOCONTROL_GET_DEVICE:
-	    (char*)arg=dsp;
+	    *(char**)arg=dsp;
 	    return CONTROL_OK;
 	case AOCONTROL_QUERY_FORMAT:
 	    return CONTROL_TRUE;




More information about the MPlayer-cvslog mailing list