neels has uploaded this change for review.
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
---
M src/libmsc/sdp_msg.c
1 file changed, 13 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/91/31691/1
diff --git a/src/libmsc/sdp_msg.c b/src/libmsc/sdp_msg.c
index 49fc5d2..dba1541 100644
--- a/src/libmsc/sdp_msg.c
+++ b/src/libmsc/sdp_msg.c
@@ -154,6 +154,7 @@
OSMO_STRLCPY_ARRAY(codec->subtype_name, subtype_name);
if (fmtp)
OSMO_STRLCPY_ARRAY(codec->fmtp, fmtp);
+ codec->rate = rate;
return codec;
}
To view, visit change 31691. To unsubscribe, or for help writing mail filters, visit settings.