summaryrefslogtreecommitdiffstats
path: root/dec_video.c
diff options
context:
space:
mode:
authorjkeil <jkeil@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-27 16:55:12 +0000
committerjkeil <jkeil@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-27 16:55:12 +0000
commitb6809f179fff6aa44b679288b98dce5347fd5138 (patch)
treea0bd7375b4b29e2049fc810ef1f3125e6ebf5ddc /dec_video.c
parent30feb5577059a3addcf8465be59c5e048bb58dff (diff)
downloadmpv-b6809f179fff6aa44b679288b98dce5347fd5138.tar.bz2
mpv-b6809f179fff6aa44b679288b98dce5347fd5138.tar.xz
{f}emms is only needed on x86
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3161 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'dec_video.c')
-rw-r--r--dec_video.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dec_video.c b/dec_video.c
index 0e88cbd3c7..1ef2d7ed4c 100644
--- a/dec_video.c
+++ b/dec_video.c
@@ -808,6 +808,7 @@ if(verbose>1){
} // switch
//------------------------ frame decoded. --------------------
+#ifdef ARCH_X86
// some codecs is broken, and doesn't restore MMX state :(
// it happens usually with broken/damaged files.
if(gCpuCaps.has3DNow){
@@ -816,6 +817,7 @@ if(gCpuCaps.has3DNow){
else if(gCpuCaps.hasMMX){
__asm __volatile ("emms\n\t":::"memory");
}
+#endif
t2=GetTimer();t=t2-t;video_time_usage+=t*0.000001f;