summaryrefslogtreecommitdiffstats
path: root/libvo/vo_xv.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-19 18:57:24 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-19 18:57:24 +0000
commitdbfd7500d40e5f8d15e706e6d7898a02ee0467d1 (patch)
treeefce4964040eabbd5b8e17c9763300384d69bab7 /libvo/vo_xv.c
parent9fbac36766297c292133008a45f0677f8c0fe445 (diff)
downloadmpv-dbfd7500d40e5f8d15e706e6d7898a02ee0467d1.tar.bz2
mpv-dbfd7500d40e5f8d15e706e6d7898a02ee0467d1.tar.xz
hotfix (i doubt it will really fix this issue) by Fredrik Kuivinen <freku045@student.liu.se>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5204 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_xv.c')
-rw-r--r--libvo/vo_xv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c
index 908df2ce8b..81eeff4157 100644
--- a/libvo/vo_xv.c
+++ b/libvo/vo_xv.c
@@ -757,6 +757,7 @@ return 0;
static void uninit(void)
{
int i;
+ if(!mDisplay) return;
saver_on(mDisplay); // screen saver back on
for( i=0;i<num_buffers;i++ ) deallocate_xvimage( i );
#ifdef HAVE_XF86VM