# HG changeset patch # User alex # Date 1004387286 0 # Node ID 88195a28576a73e4caf1a1bbcbabc176b1cd7b79 # Parent f2e70944d02a8b7313aa3d4b04ebe1fcd22a131f changed hardcoded 'emms' to EMMS according to pp/swscale.c diff -r f2e70944d02a -r 88195a28576a dec_video.c --- a/dec_video.c Mon Oct 29 19:54:22 2001 +0000 +++ b/dec_video.c Mon Oct 29 20:28:06 2001 +0000 @@ -75,6 +75,8 @@ #include "xacodec.h" #endif +#include "mmx_defs.h" + void AVI_Decode_RLE8(char *image,char *delta,int tdsize, unsigned int *map,int imagex,int imagey,unsigned char x11_bytes_pixel); @@ -662,7 +664,7 @@ #ifdef HAVE_MMX // some codecs is broken, and doesn't restore MMX state :( // it happens usually with broken/damaged files. - __asm __volatile ("emms;":::"memory"); + __asm __volatile (EMMS:::"memory"); #endif t2=GetTimer();t=t2-t;video_time_usage+=t*0.000001f;