MMX problem workaround for broken (win32) codecs

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1368 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2001-07-20 20:42:13 +00:00
parent ca332b48c1
commit 9e522e286b
1 changed files with 6 additions and 0 deletions

View File

@ -394,6 +394,12 @@ else
} // switch } // switch
//------------------------ frame decoded. -------------------- //------------------------ frame decoded. --------------------
#ifdef HAVE_MMX
// some codecs is broken, and doesn't restore MMX state :(
// it happens usually with broken/damaged files.
__asm __volatile ("emms;":::"memory");
#endif
t2=GetTimer();t=t2-t;video_time_usage+=t*0.000001f; t2=GetTimer();t=t2-t;video_time_usage+=t*0.000001f;
switch(blit_frame){ switch(blit_frame){