[xiph-commits] r12439 - trunk/speex/libspeex

jm at svn.xiph.org jm at svn.xiph.org
Tue Feb 6 02:56:49 PST 2007


Author: jm
Date: 2007-02-06 02:56:43 -0800 (Tue, 06 Feb 2007)
New Revision: 12439

Modified:
   trunk/speex/libspeex/resample.c
Log:
Making quality map const. Thanks Lennart.


Modified: trunk/speex/libspeex/resample.c
===================================================================
--- trunk/speex/libspeex/resample.c	2007-02-06 03:33:20 UTC (rev 12438)
+++ trunk/speex/libspeex/resample.c	2007-02-06 10:56:43 UTC (rev 12439)
@@ -98,7 +98,7 @@
       by the sinusoids/noise just below the Nyquist rate (guaranteed only for
       up-sampling).
 */
-struct QualityMapping quality_map[11] = {
+const struct QualityMapping quality_map[11] = {
    {  8,  4, 0.70f, 0.80f}, /* 0 */
    { 16,  4, 0.74f, 0.83f}, /* 1 */
    { 32,  4, 0.77f, 0.87f}, /* 2 */



More information about the commits mailing list