diff options
author | Harald Welte <laforge@gnumonks.org> | 2019-08-01 20:02:40 +0200 |
---|---|---|
committer | laforge <laforge@gnumonks.org> | 2019-08-12 08:43:12 +0000 |
commit | c144f3a781d77e241a9bf188ad54890f0a3c6fdf (patch) | |
tree | 536557d00ac75cdd471195ccf2f41a453d261a8b /src/codec | |
parent | c996d652f974f803653ce66d27d60675c1f77c2e (diff) |
codec/ecu_fr: Mark input TCH frame as 'const' as we only read it
Change-Id: I64c6d3dc08ff87b673ba6225f98546e86f91bcfd
Diffstat (limited to 'src/codec')
-rw-r--r-- | src/codec/ecu_fr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codec/ecu_fr.c b/src/codec/ecu_fr.c index 20a0f89e..ef42ea9f 100644 --- a/src/codec/ecu_fr.c +++ b/src/codec/ecu_fr.c @@ -130,7 +130,7 @@ leave: * \param[in] state The state object for the ECU * \param[out] frame The valid frame (GSM_FR_BYTES bytes in RTP payload format) */ -void osmo_ecu_fr_reset(struct osmo_ecu_fr_state *state, uint8_t *frame) +void osmo_ecu_fr_reset(struct osmo_ecu_fr_state *state, const uint8_t *frame) { state->subsequent_lost_frame = false; memcpy(state->frame_backup, frame, GSM_FR_BYTES); |