[FFmpeg-soc] [soc]: r1535 - amr/amrnbfloatdec.c
superdump
subversion at mplayerhq.hu
Thu Dec 6 01:43:32 CET 2007
Author: superdump
Date: Thu Dec 6 01:43:32 2007
New Revision: 1535
Log:
Correct index range
Modified:
amr/amrnbfloatdec.c
Modified: amr/amrnbfloatdec.c
==============================================================================
--- amr/amrnbfloatdec.c (original)
+++ amr/amrnbfloatdec.c Thu Dec 6 01:43:32 2007
@@ -397,7 +397,7 @@ static void lsp2poly(float *lsp, float *
for(i=2; i<7; i++) {
int idx_lsp = 2*i-4;
f[i] = 2.0*(-lsp[idx_lsp]*f[i-1] + f[i-2]);
- for(j=i-1; j>0; j--) {
+ for(j=i-1; j>1; j--) {
f[j] += -2.0*lsp[idx_lsp]*f[j-1] + f[j-2];
}
}
More information about the FFmpeg-soc
mailing list