From 6789ba35a6de52c791a9823b3b4409ec252b804d Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 31 May 2017 02:47:43 +0200 Subject: osmo_{fr,hr}_check_sid(): Use const input argument Change-Id: If779cce63f06a18d4f3b0cb3d6dd7a99aa52a646 --- include/osmocom/codec/codec.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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, -- cgit v1.2.3