From 882fe7631586b0a7919f808588a2ea4fb555f7e8 Mon Sep 17 00:00:00 2001 From: Brice Goglin Date: Thu, 19 Jul 2007 18:44:27 -0400 Subject: MACH64: avoid crash in Xv code fixes bug 11054 --- src/atimach64xv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/atimach64xv.c b/src/atimach64xv.c index 997fa69..67becec 100644 --- a/src/atimach64xv.c +++ b/src/atimach64xv.c @@ -979,6 +979,9 @@ ATIMach64PutImage if (pATI->ActiveSurface) return Success; + if (DstH < 16) + return Success; + if (!ATIMach64ClipVideo(pScreenInfo, pATI, ImageID, SrcX, SrcY, SrcW, SrcH, DstX, DstY, &DstW, &DstH, -- cgit v1.2.3