[Mplayer-cvslog] CVS: main dec_video.c,1.9,1.10
Arpi of Ize
arpi at mplayer.dev.hu
Fri Jul 20 22:42:16 CEST 2001
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv4135
Modified Files:
dec_video.c
Log Message:
MMX problem workaround for broken (win32) codecs
Index: dec_video.c
===================================================================
RCS file: /cvsroot/mplayer/main/dec_video.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- dec_video.c 20 Jul 2001 17:42:32 -0000 1.9
+++ dec_video.c 20 Jul 2001 20:42:13 -0000 1.10
@@ -394,6 +394,12 @@
} // switch
//------------------------ 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;
switch(blit_frame){
More information about the MPlayer-cvslog
mailing list