changeset 204:56f4cfbcadd5

MMX fix (missing emms() in sig11handler)
author arpi_esp
date Sat, 24 Mar 2001 18:48:37 +0000
parents b29c1eed9428
children a67955d10f94
files libmpeg2/decode.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpeg2/decode.c	Sat Mar 24 11:59:35 2001 +0000
+++ b/libmpeg2/decode.c	Sat Mar 24 18:48:37 2001 +0000
@@ -325,6 +325,9 @@
     if(setjmp(mpeg2_jmp_buf)==0){
       ret+=parse_chunk(output, code&0xFF, pos);
     } else {
+#ifdef ARCH_X86
+	    if (config.flags & MM_ACCEL_X86_MMX) emms ();
+#endif
       printf("@@@ libmpeg2 returned from sig11... @@@\n");
     }
   }