summaryrefslogtreecommitdiffstats
path: root/dec_video.c
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-29 20:28:06 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-29 20:28:06 +0000
commit6476f765d21b0a6bddf935c2fdd84e86e87c49a7 (patch)
tree977fa2ff81fd8387027edc6f2d5bdfcb979485a3 /dec_video.c
parent397dc391596af0532e0b36b2fafe59087aa446be (diff)
downloadmpv-6476f765d21b0a6bddf935c2fdd84e86e87c49a7.tar.bz2
mpv-6476f765d21b0a6bddf935c2fdd84e86e87c49a7.tar.xz
changed hardcoded 'emms' to EMMS according to pp/swscale.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2542 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'dec_video.c')
-rw-r--r--dec_video.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/dec_video.c b/dec_video.c
index f408fe1698..4b720b5cb9 100644
--- a/dec_video.c
+++ b/dec_video.c
@@ -75,6 +75,8 @@ extern picture_t *picture; // exported from libmpeg2/decode.c
#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 @@ if(verbose>1){
#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;