changeset 1276:ae943748e0d9

One flaw is fixed
author nick
date Wed, 04 Jul 2001 20:54:09 +0000
parents 1441cc01d49c
children 3a9699d9e7da
files mp3lib/sr1.c
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mp3lib/sr1.c	Wed Jul 04 20:18:24 2001 +0000
+++ b/mp3lib/sr1.c	Wed Jul 04 20:54:09 2001 +0000
@@ -394,9 +394,13 @@
       _CpuID = _i586 = _3dnow = _isse = _has_mmx = 0;
       printf( "mp3lib: Using generic decore.\n");
 #endif
+#ifdef HAVE_MMX
 /* Use it for any MMX cpu */
-   if(_has_mmx)	make_decode_tables_MMX(outscale);
-   else		make_decode_tables(outscale);
+   if(_has_mmx)
+	make_decode_tables_MMX(outscale);
+   else
+#endif
+	make_decode_tables(outscale);
 #ifdef USE_FAKE_MONO
     if (fakemono == 1)
         fr.synth=synth_1to1_l;