]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Fix bandwith vs. bandwiDth typo.
authordiego <diego@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Tue, 12 May 2009 23:40:22 +0000 (23:40 +0000)
committerdiego <diego@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Tue, 12 May 2009 23:40:22 +0000 (23:40 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18804 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavcodec/qcelpdata.h
libavcodec/qcelpdec.c
libavformat/asf.h

index 1c9fad002d662ddfde5c557273d26d47538aa88f..6ca80dd8efe6cd5d8e6004b0dd1fc17dc634e7ed 100644 (file)
@@ -557,6 +557,6 @@ static const double qcelp_rnd_fir_coefs[11] = {
  *
  * 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 */
index 68b9d2c04a018a6587cb1074c8c9c1ba51c16cbf..bf2381503a0a3f54f4f1ceef0c43d85282e9d247 100644 (file)
@@ -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;
     }
 }
 
index f322ee2a58361784cf707abeb45f655874538ada..57d6b67a28994a40d95b05f6c07a8c1c6a44e31b 100644 (file)
@@ -68,7 +68,7 @@ typedef struct {
                                  *   invalid if broadcasting */
     uint32_t max_pktsize;       /**< shall be the same as for min_pktsize
                                  *   invalid if broadcasting */
-    uint32_t max_bitrate;       /**< bandwith of stream in bps
+    uint32_t max_bitrate;       /**< bandwidth of stream in bps
                                  *   should be the sum of bitrates of the
                                  *   individual media streams */
 } ASFMainHeader;