changeset 874:213702abb0b2

emms() SIGILL on non-MMX systems fixed
author arpi_esp
date Fri, 25 May 2001 15:42:55 +0000
parents 02faad9d43b5
children c1cd62f01b2f
files libvo/vo_svga.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_svga.c	Fri May 25 15:32:00 2001 +0000
+++ b/libvo/vo_svga.c	Fri May 25 15:42:55 2001 +0000
@@ -491,7 +491,9 @@
   uint8_t *src = yuvbuf;
   uint32_t sw, sh;
   
+#ifdef HAVE_MMX
   emms();
+#endif
   sw = (uint32_t) (w * scaling);
   sh = (uint32_t) (h * scaling);
   yuv2rgb(yuvbuf, image[0], image[1], image[2], w, h, orig_w * BYTESPERPIXEL, stride[0], stride[1]);