neels has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-msc/+/35877?usp=email )
Change subject: comment tweak in sdp_msg API
......................................................................
comment tweak in sdp_msg API
Change-Id: I1d281f61497336783126aef39165426523b22112
---
M src/libmsc/sdp_msg.c
1 file changed, 11 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/77/35877/1
diff --git a/src/libmsc/sdp_msg.c b/src/libmsc/sdp_msg.c
index 9d787ad..2eda38f 100644
--- a/src/libmsc/sdp_msg.c
+++ b/src/libmsc/sdp_msg.c
@@ -206,8 +206,8 @@
return NULL;
}
-/* Remove the codec entry pointed at by 'codec'. 'codec' must point at an
entry of 'sdp' (to use an external codec
- * instance, use sdp_audio_codecs_by_descr()).
+/* Remove the codec entry pointed at by 'codec'. 'codec' must point at an
entry of 'ac'.
+ * To use any external codec instance, use sdp_audio_codecs_remove(ac,
sdp_audio_codecs_by_descr(ac, codec)).
* Return 0 on success, -ENOENT if codec does not point at the sdp->codec array. */
int sdp_audio_codecs_remove(struct sdp_audio_codecs *ac, const struct sdp_audio_codec
*codec)
{
--
To view, visit
https://gerrit.osmocom.org/c/osmo-msc/+/35877?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I1d281f61497336783126aef39165426523b22112
Gerrit-Change-Number: 35877
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-MessageType: newchange