[PATCH] 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/.

Max gerrit-no-reply at lists.osmocom.org
Fri Dec 16 13:05:30 UTC 2016


Review at  https://gerrit.osmocom.org/1441

Remove obsolete compile-time conditional

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


  git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/41/1441/1

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: newchange
Gerrit-Change-Id: If8f87587227b09635361b758873f75d8b6aa3497
Gerrit-PatchSet: 1
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list