diff options
author | nick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-13 17:23:32 +0000 |
---|---|---|
committer | nick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-13 17:23:32 +0000 |
commit | b6f69b1a9ccd55d5a820f9a1f45355ad9e180324 (patch) | |
tree | 1069d2b778cf53c5bb2d9eab559dc0ac8dc971ec /mp3lib | |
parent | d54038119bf4cdcafcc3330e9439d49b1f9af2ff (diff) |
Bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4142 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp3lib')
-rw-r--r-- | mp3lib/Makefile | 2 | ||||
-rw-r--r-- | 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" |