[FFmpeg-soc] [soc]: r740 - qcelp/qcelpdec.c

reynaldo subversion at mplayerhq.hu
Mon Aug 13 10:03:52 CEST 2007


Author: reynaldo
Date: Mon Aug 13 10:03:52 2007
New Revision: 740

Log:
de-nit-ify -- reverts last change, sorry, must be the hour

Modified:
   qcelp/qcelpdec.c

Modified: qcelp/qcelpdec.c
==============================================================================
--- qcelp/qcelpdec.c	(original)
+++ qcelp/qcelpdec.c	Mon Aug 13 10:03:52 2007
@@ -272,7 +272,7 @@ static int qcelp_compute_svector(qcelp_p
 
                 /* FIR filter */
                 cdn_vector[i]=qcelp_rnd_fir_coefs[1]*rnd[i];
-                for(j=1; j<22 && i>0; j++)
+                for(j=1; j<22 && !(i-j+1); j++)
                 {
                     cdn_vector[i]+=qcelp_rnd_fir_coefs[j]*rnd[i-j];
                 }



More information about the FFmpeg-soc mailing list