summaryrefslogtreecommitdiff
path: root/libavcodec/qcelpdec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-05-12 23:40:22 +0000
committerDiego Biurrun <diego@biurrun.de>2009-05-12 23:40:22 +0000
commite19f995263f5b38756b020c39906f33949d69b4b (patch)
tree0305cc235d4c0efcd60be1d147107b7044e5ea33 /libavcodec/qcelpdec.c
parente131922e485252a3c03da8a919239b6f16fc36d3 (diff)
Fix bandwith vs. bandwiDth typo.
Originally committed as revision 18804 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/qcelpdec.c')
-rw-r--r--libavcodec/qcelpdec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/qcelpdec.c b/libavcodec/qcelpdec.c
index 68b9d2c04a..bf2381503a 100644
--- a/libavcodec/qcelpdec.c
+++ b/libavcodec/qcelpdec.c
@@ -597,7 +597,7 @@ static void apply_pitch_filters(QCELPContext *q, float *cdn_vector)
* @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 apply_pitch_filters(QCELPContext *q, float *cdn_vector)
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 @@ static void lspf2lpc(const float *lspf, float *lpc)
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;
}
}