[Mplayer-cvslog] CVS: main/libvo vo_x11.c,1.79,1.80

Alex Beregszaszi alex at mplayer.dev.hu
Sun Feb 24 00:14:32 CET 2002


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

Modified Files:
	vo_x11.c 
Log Message:
ehh, return error if cannot open display

Index: vo_x11.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_x11.c,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- vo_x11.c	23 Feb 2002 01:38:06 -0000	1.79
+++ vo_x11.c	23 Feb 2002 23:14:29 -0000	1.80
@@ -246,7 +246,7 @@
 #ifdef HAVE_NEW_GUI
  if ( vo_window == None )
 #endif   
-    if( !vo_init() ) return 0; // Can't open X11
+    if( !vo_init() ) return -1; // Can't open X11
 
 
  if (!title)




More information about the MPlayer-cvslog mailing list