Making quality map const. Thanks Lennart.
authorjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Tue, 6 Feb 2007 10:56:43 +0000 (10:56 +0000)
committerjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Tue, 6 Feb 2007 10:56:43 +0000 (10:56 +0000)
git-svn-id: http://svn.xiph.org/trunk/speex@12439 0101bb08-14d6-0310-b084-bc0e0c8e3800

libspeex/resample.c

index 7797890..d6bfa3e 100644 (file)
@@ -98,7 +98,7 @@ struct QualityMapping {
       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 */