summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authorfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-05-16 16:34:57 +0000
committerfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-05-16 16:34:57 +0000
commit39c855e79ac97b014d8455035e46a8248eddc232 (patch)
tree128bd3f9f3b56a61c4acb83d2dfa89df7362aaf2 /osdep
parent6ecc38f40b1b22469888c10793660fadcb89d5b1 (diff)
downloadmpv-39c855e79ac97b014d8455035e46a8248eddc232.tar.bz2
mpv-39c855e79ac97b014d8455035e46a8248eddc232.tar.xz
uninit fix by Aurelien JACOBS <aurel at gnuage.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10115 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'osdep')
-rw-r--r--osdep/vbelib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/vbelib.c b/osdep/vbelib.c
index d3fc9a445f..6b446344cb 100644
--- a/osdep/vbelib.c
+++ b/osdep/vbelib.c
@@ -150,7 +150,7 @@ int vbeInit( void )
int vbeDestroy( void )
{
- __set_cursor_type(my_stdout,1);
+ if (my_stdout) __set_cursor_type(my_stdout,1);
close(fd_mem);
LRMI_free_real(controller_info);
return VBE_OK;