From 23203d9895ce2a4d4385717cda88d948005d424d Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Mon, 23 Feb 2026 10:11:19 -0400 Subject: [PATCH] MT#55283 add some const qualifiers Change-Id: I94bc88c3538818baf7ac326e49484a893dac7052 --- daemon/codec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/daemon/codec.c b/daemon/codec.c index 5c17546ec..f46067a75 100644 --- a/daemon/codec.c +++ b/daemon/codec.c @@ -55,7 +55,7 @@ static struct timerthread codec_timers_thread; static void rtp_payload_type_copy(rtp_payload_type *dst, const rtp_payload_type *src); static void codec_store_add_raw_order(struct codec_store *cs, rtp_payload_type *pt); -static rtp_payload_type *codec_store_find_compatible(struct codec_store *cs, +static rtp_payload_type *codec_store_find_compatible(const struct codec_store *cs, const rtp_payload_type *pt); static void __rtp_payload_type_add_name(codec_names_ht, rtp_payload_type *pt); static void codec_calc_lost(struct ssrc_entry_call *ssrc, uint16_t seq); @@ -5612,7 +5612,7 @@ static void codec_store_add_end(struct codec_store *cs, rtp_payload_type *pt) { codec_store_add_link(cs, pt, NULL); } -static rtp_payload_type *codec_store_find_compatible_q(struct codec_store *cs, GQueue *q, +static rtp_payload_type *codec_store_find_compatible_q(const struct codec_store *cs, GQueue *q, const rtp_payload_type *pt) { if (!q) @@ -5624,7 +5624,7 @@ static rtp_payload_type *codec_store_find_compatible_q(struct codec_store *cs, G } return NULL; } -static rtp_payload_type *codec_store_find_compatible(struct codec_store *cs, +static rtp_payload_type *codec_store_find_compatible(const struct codec_store *cs, const rtp_payload_type *pt) { rtp_payload_type *ret;