changeset 5203:2f5ff1968d1c

hotfix (i doubt it will really fix this issue) by Fredrik Kuivinen <freku045@student.liu.se>
author arpi
date Tue, 19 Mar 2002 18:57:24 +0000
parents f9ec454b9066
children 6bbf3271a694
files libvo/vo_xv.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_xv.c	Tue Mar 19 18:49:39 2002 +0000
+++ b/libvo/vo_xv.c	Tue Mar 19 18:57:24 2002 +0000
@@ -757,6 +757,7 @@
 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