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

kmalaussene subversion at mplayerhq.hu
Fri Feb 13 00:45:01 CET 2009


Author: kmalaussene
Date: Fri Feb 13 00:45:00 2009
New Revision: 4050

Log:
Fix pitch lag in interp_pitch_vector according to reference code:
the index exc_idx should go one step back, not one step forward, when lag_frac < 0.

Modified:
   amr/amrnbfloatdec.c

Modified: amr/amrnbfloatdec.c
==============================================================================
--- amr/amrnbfloatdec.c	Thu Feb 12 23:37:34 2009	(r4049)
+++ amr/amrnbfloatdec.c	Fri Feb 13 00:45:00 2009	(r4050)
@@ -469,7 +469,7 @@ static void interp_pitch_vector(float *p
 
     if(lag_frac < 0) {
         lag_frac += 6;
-        lag_int--;
+        lag_int++;
     }
 
     b60_idx1 = &b60[    lag_frac];



More information about the FFmpeg-soc mailing list