diff liba52/resample_mmx.c @ 8123:9fc45fe0d444

*HUGE* set of compiler warning fixes, unused variables removal based on patch by Dominik Mierzejewski <dominik@rangers.eu.org>
author arpi
date Wed, 06 Nov 2002 23:54:29 +0000
parents 2dbd637ffe05
children f881c918739b
line wrap: on
line diff
--- a/liba52/resample_mmx.c	Wed Nov 06 23:51:17 2002 +0000
+++ b/liba52/resample_mmx.c	Wed Nov 06 23:54:29 2002 +0000
@@ -13,7 +13,6 @@
 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_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_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_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_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_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_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_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_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_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"