# HG changeset patch # User alex # Date 1025347924 0 # Node ID ea9418aec756bf7c0a88173bdd1db1f62b2de36f # Parent 4e543bd6cc0a7f57527b3ca6b925a3c511ca6be5 fixed vidix terminating if init error occured, bug found by KotH diff -r 4e543bd6cc0a -r ea9418aec756 libvo/vo_xvidix.c --- a/libvo/vo_xvidix.c Sat Jun 29 10:39:58 2002 +0000 +++ b/libvo/vo_xvidix.c Sat Jun 29 10:52:04 2002 +0000 @@ -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(); }