summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-12-10 21:00:48 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-12-10 21:00:48 +0000
commit6422fce5e22502cfbe10a63e08cd6d4e257258d5 (patch)
treeeddb73766fc5165d4396223273dbafd02aa07fa7 /libvo
parent0f7d0cc984777ebe3c2e39181dce4182cb7278e1 (diff)
downloadmpv-6422fce5e22502cfbe10a63e08cd6d4e257258d5.tar.bz2
mpv-6422fce5e22502cfbe10a63e08cd6d4e257258d5.tar.xz
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
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_3dfx.c2
1 files changed, 1 insertions, 1 deletions
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