# HG changeset patch # User diego # Date 1242171622 0 # Node ID 3c98f3e1b7191711696b3182098a8a24f165e71c # Parent 4b6766057548f835553f2f86c3cde0084a62127c Fix bandwith vs. bandwiDth typo. diff -r 4b6766057548 -r 3c98f3e1b719 qcelpdata.h --- a/qcelpdata.h Tue May 12 19:56:48 2009 +0000 +++ b/qcelpdata.h Tue May 12 23:40:22 2009 +0000 @@ -557,6 +557,6 @@ * * TIA/EIA/IS-733 2.4.3.3.6 6 */ -#define QCELP_BANDWITH_EXPANSION_COEFF 0.9883 +#define QCELP_BANDWIDTH_EXPANSION_COEFF 0.9883 #endif /* AVCODEC_QCELPDATA_H */ diff -r 4b6766057548 -r 3c98f3e1b719 qcelpdec.c --- 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; } }