[MPlayer-dev-eng] Patch to skip 3dnow downmixes in liba52

Stephen Davies steve at daviesfam.org
Mon Apr 29 23:28:09 CEST 2002


Hi,

Attached is a trivial patch to stop liba52 using the buggy 3dnow downmix
routines.  This at least gets multichannel ac3 output working again for
AMD users until I or someone can fix the downmixes.

I didn't yet commit it - rather have your comments first.  But it does
seem a shame to do a new release with this still broken.

Steve

-------------- next part --------------
Index: liba52/downmix.c
===================================================================
RCS file: /cvsroot/mplayer/main/liba52/downmix.c,v
retrieving revision 1.14
diff -u -r1.14 downmix.c
--- liba52/downmix.c	18 Jan 2002 09:58:43 -0000	1.14
+++ liba52/downmix.c	29 Apr 2002 21:27:17 -0000
@@ -55,7 +55,9 @@
 #ifdef ARCH_X86    
     if(mm_accel & MM_ACCEL_X86_MMX) upmix= upmix_MMX;
     if(mm_accel & MM_ACCEL_X86_SSE) downmix= downmix_SSE;
+#ifdef SKIP_THIS_COS_ITS_BROKEN
     if(mm_accel & MM_ACCEL_X86_3DNOW) downmix= downmix_3dnow;
+#endif
 #endif
 }
    


More information about the MPlayer-dev-eng mailing list