From 6422fce5e22502cfbe10a63e08cd6d4e257258d5 Mon Sep 17 00:00:00 2001 From: diego Date: Sat, 10 Dec 2005 21:00:48 +0000 Subject: [PATCH] Do not exit() if /dev/3dfx is not available, approved by Ivan. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17161 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_3dfx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvo/vo_3dfx.c b/libvo/vo_3dfx.c index 47b1570f00..754a1f8f50 100644 --- a/libvo/vo_3dfx.c +++ b/libvo/vo_3dfx.c @@ -331,7 +331,7 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin if ( (fd = open("/dev/3dfx",O_RDWR) ) == -1) { printf("Couldn't open /dev/3dfx\n"); - exit(1); + return -1; } // Store sizes for later