--- vo_x11.c.~1.140.~ 2004-08-21 21:57:46.000000000 +0200 +++ vo_x11.c 2004-10-17 13:23:28.000000000 +0200 @@ -578,6 +578,9 @@ uint8_t *dst[3]; int dstStride[3]; + if (w > image_width) w = image_width; + if (h > image_height) h = image_height; + if ((old_vo_dwidth != vo_dwidth || old_vo_dheight != vo_dheight) /*&& y==0 */ && zoomFlag) {