[FFmpeg-soc] [soc]: r4074 - amr/amrnbfloatdec.c

kmalaussene subversion at mplayerhq.hu
Tue Feb 17 20:28:48 CET 2009


Author: kmalaussene
Date: Tue Feb 17 20:28:48 2009
New Revision: 4074

Log:
Remove uneeded variable 'sign'.

Modified:
   amr/amrnbfloatdec.c

Modified: amr/amrnbfloatdec.c
==============================================================================
--- amr/amrnbfloatdec.c	Tue Feb 17 20:21:17 2009	(r4073)
+++ amr/amrnbfloatdec.c	Tue Feb 17 20:28:48 2009	(r4074)
@@ -630,7 +630,7 @@ static void decode_fixed_vector(float *f
         decode_8_pulses_31bits(pulses, fixed_vector);
     }else {
         int pulse_position[4], pulse_subset, pulse_nb;
-        const int fixed_index = pulses[0], sign = pulses[1];
+        const int fixed_index = pulses[0];
 
         if(mode <= MODE_515) {
             pulse_nb = 2;
@@ -658,7 +658,7 @@ static void decode_fixed_vector(float *f
             pulse_subset = (fixed_index >> 9) & 1;
             pulse_position[3] = gray_decode[(fixed_index >> 10) & 7]*5 + pulse_subset + 3;
         }
-        reconstruct_fixed_vector(pulse_position, sign, pulse_nb, fixed_vector);
+        reconstruct_fixed_vector(pulse_position, pulses[1], pulse_nb, fixed_vector);
     }
 }
 



More information about the FFmpeg-soc mailing list