diff options
author | Brice Goglin <brice.goglin@ens-lyon.org> | 2007-07-19 18:44:27 -0400 |
---|---|---|
committer | Alex Deucher <alex@t41p.hsd1.va.comcast.net> | 2007-07-19 18:44:27 -0400 |
commit | 882fe7631586b0a7919f808588a2ea4fb555f7e8 (patch) | |
tree | 9b2fdb0725f982715fde732b137eff04f97a182e | |
parent | ac9cbaf32176cf144bc694ac879e7c9e2920f762 (diff) |
MACH64: avoid crash in Xv code
fixes bug 11054
-rw-r--r-- | src/atimach64xv.c | 3 |
1 files changed, 3 insertions, 0 deletions
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, |