Mercurial > libavcodec.hg
diff qcelpdec.c @ 9629:3c98f3e1b719 libavcodec
Fix bandwith vs. bandwiDth typo.
| author | diego |
|---|---|
| date | Tue, 12 May 2009 23:40:22 +0000 |
| parents | a0517e3590fd |
| children | 7ad7d4094d1f |
line wrap: on
line diff
--- a/qcelpdec.c Tue May 12 19:56:48 2009 +0000 +++ b/qcelpdec.c Tue May 12 23:40:22 2009 +0000 @@ -597,7 +597,7 @@ * @param lspf line spectral pair frequencies * @param lpc linear predictive coding coefficients * - * @note: bandwith_expansion_coeff could be precalculated into a table + * @note: bandwidth_expansion_coeff could be precalculated into a table * but it seems to be slower on x86 * * TIA/EIA/IS-733 2.4.3.3.5 @@ -605,7 +605,7 @@ static void lspf2lpc(const float *lspf, float *lpc) { double lsf[10]; - double bandwith_expansion_coeff = QCELP_BANDWITH_EXPANSION_COEFF; + double bandwidth_expansion_coeff = QCELP_BANDWIDTH_EXPANSION_COEFF; int i; for (i=0; i<10; i++) @@ -615,8 +615,8 @@ for (i=0; i<10; i++) { - lpc[i] *= bandwith_expansion_coeff; - bandwith_expansion_coeff *= QCELP_BANDWITH_EXPANSION_COEFF; + lpc[i] *= bandwidth_expansion_coeff; + bandwidth_expansion_coeff *= QCELP_BANDWIDTH_EXPANSION_COEFF; } }
