[MERGED] libosmo-abis[master]: Remove obsolete compile-time conditional

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Dec 21 10:35:58 UTC 2016


Harald Welte has submitted this change and it was merged.

Change subject: Remove obsolete compile-time conditional
......................................................................


Remove obsolete compile-time conditional

Change-Id: If8f87587227b09635361b758873f75d8b6aa3497
---
M src/trau/osmo_ortp.c
1 file changed, 0 insertions(+), 4 deletions(-)

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



diff --git a/src/trau/osmo_ortp.c b/src/trau/osmo_ortp.c
index 0f0b9e5..8171655 100644
--- a/src/trau/osmo_ortp.c
+++ b/src/trau/osmo_ortp.c
@@ -106,11 +106,7 @@
 static void ortp_sig_cb_ssrc(RtpSession *rs, void *data)
 {
 	int port = rtp_session_get_local_port(rs);
-#if 0	/* post 0.20.0 ORTP has this function */
 	uint32_t ssrc = rtp_session_get_recv_ssrc(rs);
-#else
-	uint32_t ssrc = rs->rcv.ssrc;
-#endif
 
 	LOGP(DLMIB, LOGL_INFO,
 	     "osmo-ortp(%d): ssrc_changed to 0x%08x\n", port, ssrc);

-- 
To view, visit https://gerrit.osmocom.org/1441
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If8f87587227b09635361b758873f75d8b6aa3497
Gerrit-PatchSet: 1
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list