neels has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-msc/+/31691 )


Change subject: sdp_msg.c: fix missing rate in sdp_audio_codecs_add()
......................................................................

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 https://gerrit.osmocom.org/c/osmo-msc/+/31691
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I17ad8862f662975e2df72a332eb83df7fb048cad
Gerrit-Change-Number: 31691
Gerrit-PatchSet: 1
Gerrit-Owner: neels <[email protected]>
Gerrit-MessageType: newchange

Reply via email to