Harald Welte has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/9233 )

Change subject: mgcp_sdp: correct apidoc of mgcp_parse_sdp_data
......................................................................

mgcp_sdp: correct apidoc of mgcp_parse_sdp_data

The API documentation of mgcp_parse_sdp_data is incorrect.

- correct API documentation

Change-Id: I9906f1dd6811c7092b93d60c9348221fef68cc3e
---
M src/libosmo-mgcp/mgcp_sdp.c
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Neels Hofmeyr: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/libosmo-mgcp/mgcp_sdp.c b/src/libosmo-mgcp/mgcp_sdp.c
index 52b4df4..5c66a83 100644
--- a/src/libosmo-mgcp/mgcp_sdp.c
+++ b/src/libosmo-mgcp/mgcp_sdp.c
@@ -205,10 +205,10 @@
  *  \param[in] endp trunk endpoint.
  *  \param[out] conn associated rtp connection.
  *  \param[out] caller provided memory to store the parsing results.
- *  \returns 0 on success, -1 on failure.
+ *  \returns 1 when codecs are assigned, 0 when no codecs are assigned.
  *
  *  Note: In conn (conn->end) the function returns the packet duration,
- *  the rtp port and the rtcp port */
+ *  rtp port, rtcp port and the assigned codecs (codec and alt_codec). */
 int mgcp_parse_sdp_data(const struct mgcp_endpoint *endp,
                        struct mgcp_conn_rtp *conn,
                        struct mgcp_parse_data *p)

--
To view, visit https://gerrit.osmocom.org/9233
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I9906f1dd6811c7092b93d60c9348221fef68cc3e
Gerrit-Change-Number: 9233
Gerrit-PatchSet: 3
Gerrit-Owner: dexter <pma...@sysmocom.de>
Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofm...@sysmocom.de>

Reply via email to