summaryrefslogtreecommitdiffstats
path: root/liba52
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-06 23:54:29 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-06 23:54:29 +0000
commitf859d013a883bbba59901303f644fe281454a63d (patch)
treee71729f1990b98ab27a8672e92a656d622c5ab19 /liba52
parentd1d7c653674e32de3a4aa47ee4068c57b288adb7 (diff)
downloadmpv-f859d013a883bbba59901303f644fe281454a63d.tar.bz2
mpv-f859d013a883bbba59901303f644fe281454a63d.tar.xz
*HUGE* set of compiler warning fixes, unused variables removal
based on patch by Dominik Mierzejewski <dominik@rangers.eu.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'liba52')
-rw-r--r--liba52/resample_mmx.c10
1 files changed, 0 insertions, 10 deletions
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"