[Mplayer-cvslog] CVS: main/libvo x11_common.c,1.157,1.158

Jindrich Makovicka CVS henry at mplayerhq.hu
Sun Sep 21 18:33:00 CEST 2003


Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv20143

Modified Files:
	x11_common.c 
Log Message:
prevent crashes with vo_sdl

Index: x11_common.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/x11_common.c,v
retrieving revision 1.157
retrieving revision 1.158
diff -u -r1.157 -r1.158
--- x11_common.c	21 Sep 2003 11:27:11 -0000	1.157
+++ x11_common.c	21 Sep 2003 16:32:31 -0000	1.158
@@ -1101,7 +1101,7 @@
 {
     XEvent ev;
 
-    if (xs_windowid &&
+    if (mDisplay && xs_windowid &&
 	((time - time_last)>30 ||
 	 (time - time_last)<0)) {
 	time_last = time;



More information about the MPlayer-cvslog mailing list