From f859d013a883bbba59901303f644fe281454a63d Mon Sep 17 00:00:00 2001 From: arpi Date: Wed, 6 Nov 2002 23:54:29 +0000 Subject: *HUGE* set of compiler warning fixes, unused variables removal based on patch by Dominik Mierzejewski git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2 --- liba52/resample_mmx.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'liba52') diff --git a/liba52/resample_mmx.c b/liba52/resample_mmx.c index 7cee365749..a4079798f7 100644 --- a/liba52/resample_mmx.c +++ b/liba52/resample_mmx.c @@ -13,7 +13,6 @@ static uint64_t __attribute__((aligned(8))) wm0101= 0x0000FFFF0000FFFFLL; static uint64_t __attribute__((aligned(8))) wm1100= 0xFFFFFFFF00000000LL; static int a52_resample_MONO_to_5_MMX(float * _f, int16_t * s16){ - int i; int32_t * f = (int32_t *) _f; asm volatile( "movl $-512, %%esi \n\t" @@ -51,7 +50,6 @@ static int a52_resample_MONO_to_5_MMX(float * _f, int16_t * s16){ } static int a52_resample_STEREO_to_2_MMX(float * _f, int16_t * s16){ - int i; int32_t * f = (int32_t *) _f; /* benchmark scores are 0.3% better with SSE but we would need to set bias=0 and premultiply it #ifdef HAVE_SSE @@ -100,7 +98,6 @@ static int a52_resample_STEREO_to_2_MMX(float * _f, int16_t * s16){ } static int a52_resample_3F_to_5_MMX(float * _f, int16_t * s16){ - int i; int32_t * f = (int32_t *) _f; asm volatile( "movl $-1024, %%esi \n\t" @@ -156,7 +153,6 @@ static int a52_resample_3F_to_5_MMX(float * _f, int16_t * s16){ } static int a52_resample_2F_2R_to_4_MMX(float * _f, int16_t * s16){ - int i; int32_t * f = (int32_t *) _f; asm volatile( "movl $-1024, %%esi \n\t" @@ -208,7 +204,6 @@ static int a52_resample_2F_2R_to_4_MMX(float * _f, int16_t * s16){ } static int a52_resample_3F_2R_to_5_MMX(float * _f, int16_t * s16){ - int i; int32_t * f = (int32_t *) _f; asm volatile( "movl $-1024, %%esi \n\t" @@ -268,7 +263,6 @@ static int a52_resample_3F_2R_to_5_MMX(float * _f, int16_t * s16){ } static int a52_resample_MONO_LFE_to_6_MMX(float * _f, int16_t * s16){ - int i; int32_t * f = (int32_t *) _f; asm volatile( "movl $-1024, %%esi \n\t" @@ -309,7 +303,6 @@ static int a52_resample_MONO_LFE_to_6_MMX(float * _f, int16_t * s16){ } static int a52_resample_STEREO_LFE_to_6_MMX(float * _f, int16_t * s16){ - int i; int32_t * f = (int32_t *) _f; asm volatile( "movl $-1024, %%esi \n\t" @@ -348,7 +341,6 @@ static int a52_resample_STEREO_LFE_to_6_MMX(float * _f, int16_t * s16){ } static int a52_resample_3F_LFE_to_6_MMX(float * _f, int16_t * s16){ - int i; int32_t * f = (int32_t *) _f; asm volatile( "movl $-1024, %%esi \n\t" @@ -389,7 +381,6 @@ static int a52_resample_3F_LFE_to_6_MMX(float * _f, int16_t * s16){ } static int a52_resample_2F_2R_LFE_to_6_MMX(float * _f, int16_t * s16){ - int i; int32_t * f = (int32_t *) _f; asm volatile( "movl $-1024, %%esi \n\t" @@ -436,7 +427,6 @@ static int a52_resample_2F_2R_LFE_to_6_MMX(float * _f, int16_t * s16){ } static int a52_resample_3F_2R_LFE_to_6_MMX(float * _f, int16_t * s16){ - int i; int32_t * f = (int32_t *) _f; asm volatile( "movl $-1024, %%esi \n\t" -- cgit v1.2.3