Index: x11_common.c =================================================================== RCS file: /cvsroot/mplayer/main/libvo/x11_common.c,v retrieving revision 1.162 diff -u -r1.162 x11_common.c --- x11_common.c 16 Jan 2004 17:31:37 -0000 1.162 +++ x11_common.c 23 Feb 2004 20:31:50 -0000 @@ -1040,6 +1040,11 @@ if(vo_dwidth != vo_screenwidth && vo_dheight != vo_screenheight) return; vo_fs=VO_FALSE; x=vo_old_x; y=vo_old_y; w=vo_old_width; h=vo_old_height; + if (w == 0 || h == 0) { // otherwise we will get a SIGABORT + mp_msg(MSGT_VO, MSGL_ERR, "[x11_common] bad window size!\n"); + w = (vo_dwidth)?vo_dwidth:50; + h = (vo_dheight)?vo_dheight:50; + } } else { // win->fs if(vo_old_width &&