[Mplayer-cvslog] CVS: main/libvo vo_xvidix.c,1.44,1.45

Alex Beregszaszi alex at mplayerhq.hu
Sat Jun 29 12:52:15 CEST 2002


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

Modified Files:
	vo_xvidix.c 
Log Message:
fixed vidix terminating if init error occured, bug found by KotH

Index: vo_xvidix.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_xvidix.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- vo_xvidix.c	25 Jun 2002 19:10:03 -0000	1.44
+++ vo_xvidix.c	29 Jun 2002 10:52:04 -0000	1.45
@@ -164,11 +164,9 @@
 	    window_width, window_height, image_format, vo_depthonscreen,
 	    vo_screenwidth, vo_screenheight,info) != 0)
         {
-	    mp_msg(MSGT_VO, MSGL_FATAL, "Can't initialize VIDIX driver: %s: %s\n",
-		vidix_name, strerror(errno));
-	    vidix_term();
+	    mp_msg(MSGT_VO, MSGL_FATAL, "Can't initialize VIDIX driver: %s\n", strerror(errno));
 	    uninit();
-    	    exit(1); /* !!! */
+    	    exit_player("vidix error"); /* !!! */
 	}
 	vidix_start();
     }




More information about the MPlayer-cvslog mailing list