From a5f73d72de337eb35d7f7e38571bfdeebb02f720 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Sun, 5 Mar 2023 08:56:55 -0500 Subject: [PATCH] MT#55447 fix passing wrong pointer to callback `evs_parse_format_cb` expects `union codec_format_options` as `data` pointer, not `struct rtp_codec_format` Change-Id: Ia0ac2acad352331d3a056f67b94afcc4dcab2a80 --- lib/codeclib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/codeclib.c b/lib/codeclib.c index eee4085c5..3d54aad0c 100644 --- a/lib/codeclib.c +++ b/lib/codeclib.c @@ -3487,7 +3487,7 @@ static int evs_format_parse(struct rtp_codec_format *f, const str *fmtp) { f->parsed.evs.max_bw_recv = EVS_BW_UNSPEC; f->parsed.evs.min_bw_recv = EVS_BW_UNSPEC; - codeclib_key_value_parse(fmtp, true, evs_parse_format_cb, f); + codeclib_key_value_parse(fmtp, true, evs_parse_format_cb, &f->parsed); return 0; } static void evs_format_answer(struct rtp_payload_type *p) {