diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2023-03-04 03:56:46 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2023-03-04 03:57:02 +0100 |
commit | 8ff00e775cba71f049f183243a4785cd1e70fab4 (patch) | |
tree | 4f5e52dca440f5a59616e03e02dd6f56aaaef8a3 | |
parent | ed606b427115a7b165932e7ea7c35acf80cc266a (diff) |
sdp_msg.c: fix missing rate in sdp_audio_codecs_add()
When a new entry is is added by sdp_audio_codecs_add(), also add the
proper rate.
Change-Id: I17ad8862f662975e2df72a332eb83df7fb048cad
-rw-r--r-- | src/libmsc/sdp_msg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libmsc/sdp_msg.c b/src/libmsc/sdp_msg.c index 49fc5d2c7..dba154135 100644 --- a/src/libmsc/sdp_msg.c +++ b/src/libmsc/sdp_msg.c @@ -154,6 +154,7 @@ struct sdp_audio_codec *sdp_audio_codecs_add(struct sdp_audio_codecs *ac, unsign OSMO_STRLCPY_ARRAY(codec->subtype_name, subtype_name); if (fmtp) OSMO_STRLCPY_ARRAY(codec->fmtp, fmtp); + codec->rate = rate; return codec; } |