removed emms() and reordered stuff

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@876 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi_esp 2001-05-25 15:45:35 +00:00
parent 83e99d4ae9
commit 9997a5b15d
1 changed files with 4 additions and 4 deletions

View File

@ -491,12 +491,12 @@ static uint32_t draw_slice(uint8_t *image[], int stride[],
uint8_t *src = yuvbuf;
uint32_t sw, sh;
#ifdef HAVE_MMX
emms();
#endif
yuv2rgb(yuvbuf, image[0], image[1], image[2], w, h, orig_w * BYTESPERPIXEL, stride[0], stride[1]);
//#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]);
if (scalebuf != NULL) {
gl_scalebox(w, h, yuvbuf, sw, sh, scalebuf);
src = scalebuf;