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

kmalaussene subversion at mplayerhq.hu
Fri Feb 13 02:23:04 CET 2009


Author: kmalaussene
Date: Fri Feb 13 02:23:03 2009
New Revision: 4052

Log:
pitch_vector should be initialized to 0, according to reference code.

Modified:
   amr/amrnbfloatdec.c

Modified: amr/amrnbfloatdec.c
==============================================================================
--- amr/amrnbfloatdec.c	Fri Feb 13 00:47:56 2009	(r4051)
+++ amr/amrnbfloatdec.c	Fri Feb 13 02:23:03 2009	(r4052)
@@ -477,6 +477,7 @@ static void interp_pitch_vector(float *p
     exc_idx = &prev_excitation[-lag_int];
 
     for(n=0; n<AMR_SUBFRAME_SIZE; n++) {
+        pitch_vector[n] = 0.0;
         for(i=0; i<10; i++) {
             pitch_vector[n] += b60_idx1[6*i] * exc_idx[-i];
         }



More information about the FFmpeg-soc mailing list