mirror of
https://github.com/mpv-player/mpv
synced 2025-01-06 07:00:30 +00:00
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
This commit is contained in:
parent
397dc39159
commit
6476f765d2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user