[FFmpeg-soc] [soc]: r761 - qcelp/qcelpdec.c
reynaldo
subversion at mplayerhq.hu
Tue Aug 14 04:42:39 CEST 2007
Author: reynaldo
Date: Tue Aug 14 04:42:39 2007
New Revision: 761
Log:
Corrects formula for lpc coeficients calculation
Modified:
qcelp/qcelpdec.c
Modified: qcelp/qcelpdec.c
==============================================================================
--- qcelp/qcelpdec.c (original)
+++ qcelp/qcelpdec.c Tue Aug 14 04:42:39 2007
@@ -534,7 +534,7 @@ static void qcelp_lsp2lpc(AVCodecContext
for(i=0; i< 5; i++)
lpc[i]=-(pa[i]+qa[i])/2.0;
for(i=5; i<10; i++)
- lpc[i]=-(pa[10-i]-qa[10-i])/2.0;
+ lpc[i]=-(pa[9-i]-qa[9-i])/2.0;
/**
* FIXME see 2.4.3.3.6-1, the scaling may be necesary at decoding too
More information about the FFmpeg-soc
mailing list