summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorfilon <filon@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-05 11:30:39 +0000
committerfilon <filon@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-05 11:30:39 +0000
commit7f430583b51c547e71468ff51276989fb1e6f012 (patch)
treea1a64aa06ab8ed43d9aaea4f4d650b3f222ccf19 /libvo
parente3bce499be5ee0436146ffc444361a820ce7f430 (diff)
downloadmpv-7f430583b51c547e71468ff51276989fb1e6f012.tar.bz2
mpv-7f430583b51c547e71468ff51276989fb1e6f012.tar.xz
10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8793 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_vesa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/vo_vesa.c b/libvo/vo_vesa.c
index 3494d5eaef..46b6860658 100644
--- a/libvo/vo_vesa.c
+++ b/libvo/vo_vesa.c
@@ -1025,6 +1025,8 @@ static uint32_t preinit(const char *arg)
fd = open("/dev/mem", O_RDWR);
if (fd < 0)
return -1;
+ else
+ close(fd);
if(verbose > 2)
printf("vo_subdevice: initialization returns: %i\n",pre_init_err);
return pre_init_err;