aboutsummaryrefslogtreecommitdiffstats
path: root/src/codec/gsm690.c
diff options
context:
space:
mode:
authorKirill Zakharenko <earwin@gmail.com>2020-05-01 18:21:58 +0300
committerKirill Zakharenko <earwin@gmail.com>2020-05-01 18:21:58 +0300
commit357ab3abba5a1be0a66f8ae6c6a0460ddb4b7c06 (patch)
treead0979169f0d7911bb503466036f36f1489bc714 /src/codec/gsm690.c
parent459224a99391fa9adf22a45cb6a63d56703aa3a8 (diff)
parentd87d6f177837c848381e362d3880509ba275cac8 (diff)
Merge master into fairwaves/production
Diffstat (limited to 'src/codec/gsm690.c')
-rw-r--r--src/codec/gsm690.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/codec/gsm690.c b/src/codec/gsm690.c
index 19557164..8ab1df12 100644
--- a/src/codec/gsm690.c
+++ b/src/codec/gsm690.c
@@ -216,8 +216,9 @@ const uint16_t gsm690_4_75_bitorder[95] = {
92, 31, 52, 65, 86,
};
+/* See also RFC 4867 ยง3.6, Table 1, Column "Total speech bits" */
static const uint8_t amr_len_by_ft[16] = {
- 12, 13, 15, 17, 19, 20, 26, 31, 7, 0, 0, 0, 0, 0, 0, 0
+ 12, 13, 15, 17, 19, 20, 26, 31, 5, 0, 0, 0, 0, 0, 0, 0
};
const struct value_string osmo_amr_type_names[] = {