diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-06-29 10:52:04 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-06-29 10:52:04 +0000 |
commit | 0a88b01bed398dd875263d0927be1391e473deae (patch) | |
tree | 3a68b3061d17306629f708eeee26ed28da1b3abd /libvo/vo_xvidix.c | |
parent | c282ad5a4c102b8e05121fc4b9f226946540de32 (diff) | |
download | mpv-0a88b01bed398dd875263d0927be1391e473deae.tar.bz2 mpv-0a88b01bed398dd875263d0927be1391e473deae.tar.xz |
fixed vidix terminating if init error occured, bug found by KotH
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6599 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_xvidix.c')
-rw-r--r-- | libvo/vo_xvidix.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libvo/vo_xvidix.c b/libvo/vo_xvidix.c index 13629f3fc6..bd23397015 100644 --- a/libvo/vo_xvidix.c +++ b/libvo/vo_xvidix.c @@ -164,11 +164,9 @@ static void set_window(int force_update,const vo_tune_info_t *info) 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(); } |