changeset 2541:88195a28576a

changed hardcoded 'emms' to EMMS according to pp/swscale.c
author alex
date Mon, 29 Oct 2001 20:28:06 +0000
parents f2e70944d02a
children 146854180531
files dec_video.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;