[MPlayer-cvslog] CVS: main/libvo vo_3dfx.c,1.19,1.20

Diego Biurrun CVS syncmail at mplayerhq.hu
Sat Dec 10 22:00:50 CET 2005


CVS change done by Diego Biurrun CVS

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv15985/libvo

Modified Files:
	vo_3dfx.c 
Log Message:
Do not exit() if /dev/3dfx is not available, approved by Ivan.


Index: vo_3dfx.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_3dfx.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- vo_3dfx.c	5 Aug 2005 01:24:36 -0000	1.19
+++ vo_3dfx.c	10 Dec 2005 21:00:48 -0000	1.20
@@ -331,7 +331,7 @@
 	if ( (fd = open("/dev/3dfx",O_RDWR) ) == -1) 
 	{
 		printf("Couldn't open /dev/3dfx\n");
-		exit(1);
+		return -1;
 	}
 
 	// Store sizes for later




More information about the MPlayer-cvslog mailing list