diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-05-31 02:47:43 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-06-09 08:17:38 +0000 |
commit | 6789ba35a6de52c791a9823b3b4409ec252b804d (patch) | |
tree | ad8c83b696e4dcf30edfaddd85d5cf2866869b7f /include/osmocom | |
parent | 43058efa939f36069cdac82f356bdc94ee10d0fc (diff) |
osmo_{fr,hr}_check_sid(): Use const input argument
Change-Id: If779cce63f06a18d4f3b0cb3d6dd7a99aa52a646
Diffstat (limited to 'include/osmocom')
-rw-r--r-- | include/osmocom/codec/codec.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/osmocom/codec/codec.h b/include/osmocom/codec/codec.h index fb127b54..05da911e 100644 --- a/include/osmocom/codec/codec.h +++ b/include/osmocom/codec/codec.h @@ -63,8 +63,8 @@ static inline bool osmo_amr_is_speech(enum osmo_amr_type ft) } } -bool osmo_fr_check_sid(uint8_t *rtp_payload, size_t payload_len); -bool osmo_hr_check_sid(uint8_t *rtp_payload, size_t payload_len); +bool osmo_fr_check_sid(const uint8_t *rtp_payload, size_t payload_len); +bool osmo_hr_check_sid(const uint8_t *rtp_payload, size_t payload_len); int osmo_amr_rtp_enc(uint8_t *payload, uint8_t cmr, enum osmo_amr_type ft, enum osmo_amr_quality bfi); int osmo_amr_rtp_dec(const uint8_t *payload, int payload_len, uint8_t *cmr, |