openbsd-ports/mbone/rat/patches/patch-src_rtcp_pckt_c
wilfried 106f413f49 * respect CC/CFLAGS
* split patches into separate files
2001-03-17 17:21:41 +00:00

20 lines
860 B
Plaintext

$OpenBSD: patch-src_rtcp_pckt_c,v 1.1 2001/03/17 17:23:29 wilfried Exp $
--- src/rtcp_pckt.c.orig Mon Mar 1 18:23:53 1999
+++ src/rtcp_pckt.c Fri Mar 16 20:49:24 2001
@@ -348,9 +348,15 @@ rtcp_packet_fmt_sdes(session_struct *sp,
break;
}
case 3 : if (sp->mode == TRANSCODER) {
+#if !defined(__OpenBSD__)
len += rtcp_add_sdes_item(&ptr[len], RTCP_SDES_TOOL, RAT_VERSION " " OSNAME " [Transcoder]");
} else {
len += rtcp_add_sdes_item(&ptr[len], RTCP_SDES_TOOL, RAT_VERSION " " OSNAME);
+#else
+ len += rtcp_add_sdes_item(&ptr[len], RTCP_SDES_TOOL, RAT_VERSION " OpenBSD" " [Transcoder]");
+ } else {
+ len += rtcp_add_sdes_item(&ptr[len], RTCP_SDES_TOOL, RAT_VERSION " OpenBSD");
+#endif
}
break;
default: printf("ERROR: sdes_ter_count has strange value! %ld\n", sp->db.sdes_ter_count);