summaryrefslogtreecommitdiffstats
path: root/libvo/vo_gl.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-27 03:16:21 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-27 03:16:21 +0000
commit889ffa50eae0dfb37e76eff386931c89c97f937c (patch)
tree36c9b8e64a176eefd3e8ae776d4c1351214639f0 /libvo/vo_gl.c
parent5a473a4ffcae319ea5ab0c2ce28060ce856e683f (diff)
downloadmpv-889ffa50eae0dfb37e76eff386931c89c97f937c.tar.bz2
mpv-889ffa50eae0dfb37e76eff386931c89c97f937c.tar.xz
vo_init() moved to/fixed in preinit()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7932 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_gl.c')
-rw-r--r--libvo/vo_gl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c
index 4cf7811313..a05bbee9d5 100644
--- a/libvo/vo_gl.c
+++ b/libvo/vo_gl.c
@@ -428,7 +428,7 @@ static uint32_t preinit(const char *arg)
return ENOSYS;
}
- if(!vo_init()) return 1;
+ if( !vo_init() ) return -1; // Can't open X11
return 0;
}