aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo
diff options
context:
space:
mode:
authorGravatar arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-05-25 15:42:55 +0000
committerGravatar arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-05-25 15:42:55 +0000
commit83e99d4ae9ade05c0971536776f5709d4dfaa5e0 (patch)
tree7f10df921fd79d265a527aeb558a387d85cb0f49 /libvo
parentd09e58c03c08634e70e8ddadfb1b9ca90ce2b0e4 (diff)
emms() SIGILL on non-MMX systems fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@875 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_svga.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/vo_svga.c b/libvo/vo_svga.c
index 24b44d85b5..d5093bfe61 100644
--- a/libvo/vo_svga.c
+++ b/libvo/vo_svga.c
@@ -491,7 +491,9 @@ static uint32_t draw_slice(uint8_t *image[], int stride[],
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]);