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

superdump subversion at mplayerhq.hu
Tue Dec 4 01:38:48 CET 2007


Author: superdump
Date: Tue Dec  4 01:38:47 2007
New Revision: 1512

Log:
Missed some opening brackets in the last commit


Modified:
   amr/amrnbfloatdec.c

Modified: amr/amrnbfloatdec.c
==============================================================================
--- amr/amrnbfloatdec.c	(original)
+++ amr/amrnbfloatdec.c	Tue Dec  4 01:38:47 2007
@@ -722,16 +722,16 @@ static void decode_8_pulses_31bits(int16
     // coded using 7+3 bits with the 3 LSBs being, individually, the LSB of 1 of
     // the 3 pulses and the upper 7 bits being coded in base 5
     temp = fixed_index[4] >> 3;
-    pulse_position[0] = ((temp    %5)<<1) + ( fixed_index[4]    &1);
-    pulse_position[4] = ((temp /5)%5)<<1) + ((fixed_index[4]>>1)&1);
-    pulse_position[1] = ((temp/25)%5)<<1) + ((fixed_index[4]>>2)&1);
+    pulse_position[0] = (( temp    %5)<<1) + ( fixed_index[4]    &1);
+    pulse_position[4] = (((temp /5)%5)<<1) + ((fixed_index[4]>>1)&1);
+    pulse_position[1] = (((temp/25)%5)<<1) + ((fixed_index[4]>>2)&1);
 
     // coded using 7+3 bits with the 3 LSBs being, individually, the LSB of 1 of
     // the 3 pulses and the upper 7 bits being coded in base 5
     temp = fixed_index[5] >> 3;
-    pulse_position[2] = ((temp    %5)<<1) + ( fixed_index[5]    &1);
-    pulse_position[6] = ((temp /5)%5)<<1) + ((fixed_index[5]>>1)&1);
-    pulse_position[5] = ((temp/25)%5)<<1) + ((fixed_index[5]>>2)&1);
+    pulse_position[2] = (( temp    %5)<<1) + ( fixed_index[5]    &1);
+    pulse_position[6] = (((temp /5)%5)<<1) + ((fixed_index[5]>>1)&1);
+    pulse_position[5] = (((temp/25)%5)<<1) + ((fixed_index[5]>>2)&1);
 
     // coded using 5+2 bits with the 2 LSBs being, individually, the LSB of 1 of
     // the 2 pulses and the upper 5 bits being coded in base 5



More information about the FFmpeg-soc mailing list