From b6f69b1a9ccd55d5a820f9a1f45355ad9e180324 Mon Sep 17 00:00:00 2001 From: nick Date: Sun, 13 Jan 2002 17:23:32 +0000 Subject: [PATCH] Bug git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4142 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mp3lib/Makefile | 2 +- mp3lib/tabinit_MMX.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/mp3lib/Makefile b/mp3lib/Makefile index 34a860ce06..49c18c3a5f 100644 --- a/mp3lib/Makefile +++ b/mp3lib/Makefile @@ -12,7 +12,7 @@ ifeq ($(TARGET_ARCH_X86),yes) SRCS += d_cpu.s decode_i586.s OBJS += d_cpu.o decode_i586.o ifeq ($(TARGET_MMX),yes) -SRCS += decode_MMX.c dct64_MMX.s tabinit_MMX.s +SRCS += decode_MMX.s dct64_MMX.s tabinit_MMX.c OBJS += decode_MMX.o dct64_MMX.o tabinit_MMX.o endif #ifeq ($(TARGET_SSE),yes) diff --git a/mp3lib/tabinit_MMX.c b/mp3lib/tabinit_MMX.c index 09f4e8e1a5..fcd66e4821 100644 --- a/mp3lib/tabinit_MMX.c +++ b/mp3lib/tabinit_MMX.c @@ -48,7 +48,8 @@ static long intwindiv = 0x47800000; void make_decode_tables_MMX(long scaleval) { - long intwinbase_step = 2; + long intwinbase_step; + intwinbase_step=2; scaleval =- scaleval; __asm __volatile( "xorl %%ecx,%%ecx\n\t" @@ -92,7 +93,7 @@ void make_decode_tables_MMX(long scaleval) ".L04:\n\t" ::"g"(intwinbase_MMX),"m"(decwin[0]),"m"(scaleval),"m"(intwinbase_step) :"memory","%ebx","%esi","%edi"); - +intwinbase_step=2; __asm __volatile( "xorl %%ecx,%%ecx\n\t" "xorl %%ebx,%%ebx\n\t"