diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2018-10-16 15:24:47 +0200 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2018-10-16 16:41:45 +0200 |
commit | f6c369fb8c1b2b6a567da277f35285284b43b089 (patch) | |
tree | 257c43c9f457459a9ecc389e602e452b56415277 /tests/msgfile/msgconfig.cfg | |
parent | e484d42bf2bdbc4e4add056a6564faa7c856e46b (diff) |
gsm0808: allow decoding of zero length speech codec lists.
3GPP_TS_48.008, 3.2.2.103 Speech Codec List states the following:
"The length indicator (octet 2) is a binary number indicating the
absolute length of the contents after the length indicator.
The length depends on the number and type of Speech Codec Elements
to be included. The minimum length of one Speech Codec Element is 1
octet and the maximum length is 3 octets. The maximum number of
Speech Codec Elements within the Speech Codec List is not defined."
This clearly refers only to the length of a single speech codec
element but not on the overall list. So speech codec lists with
length 0 are indeed permitted by the spec.
- Remove the assertion that checks on zero length speech codec
lists.
Change-Id: I1eb1f4466b98bdd26d765b0e4cc690b5e89e9dd6
Related: OS#3657
Diffstat (limited to 'tests/msgfile/msgconfig.cfg')
0 files changed, 0 insertions, 0 deletions