[Mplayer-cvslog] CVS: main dec_video.c,1.53,1.54

Alex Beregszaszi alex at mplayer.dev.hu
Mon Oct 29 21:28:23 CET 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv24315

Modified Files:
	dec_video.c 
Log Message:
changed hardcoded 'emms' to EMMS according to pp/swscale.c

Index: dec_video.c
===================================================================
RCS file: /cvsroot/mplayer/main/dec_video.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- dec_video.c	27 Oct 2001 13:38:13 -0000	1.53
+++ dec_video.c	29 Oct 2001 20:28:06 -0000	1.54
@@ -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;




More information about the MPlayer-cvslog mailing list