mirror of https://github.com/mpv-player/mpv
emms() SIGILL on non-MMX systems fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@875 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d09e58c03c
commit
83e99d4ae9
|
@ -491,7 +491,9 @@ static uint32_t draw_slice(uint8_t *image[], int stride[],
|
||||||
uint8_t *src = yuvbuf;
|
uint8_t *src = yuvbuf;
|
||||||
uint32_t sw, sh;
|
uint32_t sw, sh;
|
||||||
|
|
||||||
|
#ifdef HAVE_MMX
|
||||||
emms();
|
emms();
|
||||||
|
#endif
|
||||||
sw = (uint32_t) (w * scaling);
|
sw = (uint32_t) (w * scaling);
|
||||||
sh = (uint32_t) (h * scaling);
|
sh = (uint32_t) (h * scaling);
|
||||||
yuv2rgb(yuvbuf, image[0], image[1], image[2], w, h, orig_w * BYTESPERPIXEL, stride[0], stride[1]);
|
yuv2rgb(yuvbuf, image[0], image[1], image[2], w, h, orig_w * BYTESPERPIXEL, stride[0], stride[1]);
|
||||||
|
|
Loading…
Reference in New Issue