diff libmpcodecs/native/alaw.h @ 18031:6cf40de0bd39

10l: missing const put this in data segment instead of text/rodata
author rfelker
date Mon, 03 Apr 2006 06:27:15 +0000
parents 628c85c15c7b
children 178006e9ea75
line wrap: on
line diff
--- a/libmpcodecs/native/alaw.h	Mon Apr 03 06:25:30 2006 +0000
+++ b/libmpcodecs/native/alaw.h	Mon Apr 03 06:27:15 2006 +0000
@@ -1,6 +1,6 @@
 // Generated by TOOLS/alaw-gen.c
 
-short alaw2short[]={
+const short alaw2short[]={
  -5504, -5248, -6016, -5760, -4480, -4224, -4992, -4736,
  -7552, -7296, -8064, -7808, -6528, -6272, -7040, -6784,
  -2752, -2624, -3008, -2880, -2240, -2112, -2496, -2368,
@@ -35,7 +35,7 @@
    944,   912,  1008,   976,   816,   784,   880,   848
 };
 
-short ulaw2short[]={
+const short ulaw2short[]={
 -32124,-31100,-30076,-29052,-28028,-27004,-25980,-24956,
 -23932,-22908,-21884,-20860,-19836,-18812,-17788,-16764,
 -15996,-15484,-14972,-14460,-13948,-13436,-12924,-12412,