gsm_osmux: Fix AMR_SID frame type payload size

According to TS 26.101, AMR_SID payload is 39 bits.
Hence, (39+7)/8 = 5, rounding to octet boundaries.

This fixes incorrect dissecting of Osmux frames containing AMR_SID
payloads.
This commit is contained in:
Pau Espin 2022-11-02 11:40:33 +01:00
parent a1c55f2356
commit 12a5c10664
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ static const value_string amr_ft_names[] =
{0, NULL}
};
static guint8 amr_ft_bytes[AMR_FT_MAX] = {12, 13, 15, 17, 19, 20, 26, 31, 6};
static guint8 amr_ft_bytes[AMR_FT_MAX] = {12, 13, 15, 17, 19, 20, 26, 31, 5};
#define OSMUX_AMR_HEADER_LEN 4