From cc0437f18cc6bb0bb2561057199453628e1323f9 Mon Sep 17 00:00:00 2001 From: arpi Date: Sun, 31 Mar 2002 20:45:31 +0000 Subject: open(/dev/mga_vid) moved to preinit git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5434 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_xmga.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'libvo/vo_xmga.c') diff --git a/libvo/vo_xmga.c b/libvo/vo_xmga.c index 59c51c4f4b..68a8c89ac0 100644 --- a/libvo/vo_xmga.c +++ b/libvo/vo_xmga.c @@ -202,16 +202,6 @@ static uint32_t config( uint32_t width, uint32_t height, uint32_t d_width, uint3 XGCValues xgcv; unsigned long xswamask; - char *devname=vo_subdevice?vo_subdevice:"/dev/mga_vid"; - - f = open(devname,O_RDWR); - if(f == -1) - { - perror("open"); - printf("Couldn't open %s\n",devname); - return(-1); - } - width+=width&1; switch(format) -- cgit v1.2.3