diff options
author | Diego Elio Pettenò <flameeyes@flameeyes.eu> | 2012-06-29 13:01:27 -0700 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-06-30 22:01:44 +0200 |
commit | 23431c75c8cc5df8712834e59dd80bd19b5fc298 (patch) | |
tree | b2e0f9c2f60f1fef912d56e7ca1a6d5e2dbfee4b /src/codec/gsm660.c | |
parent | 200710e3eb9617897be2698077cf77909603f245 (diff) |
codec: make data tables constant.
When declaring them constant, they are written on the .rodata section
instead of .data, which means that they can be mapped directly from
disk to memory.
Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
Diffstat (limited to 'src/codec/gsm660.c')
-rw-r--r-- | src/codec/gsm660.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codec/gsm660.c b/src/codec/gsm660.c index 4fff5ffc..c044a2ab 100644 --- a/src/codec/gsm660.c +++ b/src/codec/gsm660.c @@ -32,7 +32,7 @@ * applied prior to this table, as in GSM 05.03 3.1.1, to get 260 * bits from a 244 bits raw EFR frame. */ -uint16_t gsm660_bitorder[260] = { +const uint16_t gsm660_bitorder[260] = { 38, 39, 40, 41, 42, 43, /* 0 -> LTP-LAG 1: b8..b3 */ 145, 146, 147, 148, 149, 150, /* 6 -> LTP-LAG 3: b8..b3 */ 93, 94, /* 12 -> LTP-LAG 2: b5..b4 */ |