diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2022-12-21 17:17:58 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2022-12-21 18:37:45 +0100 |
commit | 26a02deb1215fb68847b2078d97495a01fe2a857 (patch) | |
tree | 410e0ad0915ad4856f31b0cfd0393bcfde83a747 /src/amr.c | |
parent | 17b1142959f6f916e5d3c04c0622a69acfe51667 (diff) |
amr: constify input buffer in osmo_amr_is_oa()
Change-Id: I72ef6fc700f628ea158ea888a5f1e9dc8776ab7e
Diffstat (limited to 'src/amr.c')
-rw-r--r-- | src/amr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -113,7 +113,7 @@ int osmo_amr_ft_valid(uint8_t amr_ft) * \param[inout] payload user provided memory containing the AMR payload. * \param[in] payload_len overall length of the AMR payload. * \returns true when the payload is octet aligned. */ -bool osmo_amr_is_oa(uint8_t *payload, unsigned int payload_len) +bool osmo_amr_is_oa(const uint8_t *payload, unsigned int payload_len) { /* NOTE: The distinction between octet-aligned and bandwith-efficient * mode normally relys on out of band methods that explicitly select |