diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-10-29 20:28:06 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-10-29 20:28:06 +0000 |
commit | 6476f765d21b0a6bddf935c2fdd84e86e87c49a7 (patch) | |
tree | 977fa2ff81fd8387027edc6f2d5bdfcb979485a3 | |
parent | 397dc391596af0532e0b36b2fafe59087aa446be (diff) |
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
-rw-r--r-- | dec_video.c | 4 |
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; |