1
0
forked from pool/libosmo-abis
libosmo-abis/ortp27.diff

32 lines
1.0 KiB
Diff

From: Jan Engelhardt <jengelh@inai.de>
Date: 2016-10-01 14:30:22.066588957 +0200
build: make libosmo-abis build with ortp-0.27
---
src/trau/osmo_ortp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: libosmo-abis-0.3.2.24/src/trau/osmo_ortp.c
===================================================================
--- libosmo-abis-0.3.2.24.orig/src/trau/osmo_ortp.c
+++ libosmo-abis-0.3.2.24/src/trau/osmo_ortp.c
@@ -94,7 +94,7 @@ static int ortp_to_osmo_lvl(OrtpLogLevel
return LOGL_ERROR;
}
-static void my_ortp_logfn(OrtpLogLevel lev, const char *fmt,
+static void my_ortp_logfn(const char *domain, OrtpLogLevel lev, const char *fmt,
va_list args)
{
osmo_vlogp(DLMIB, ortp_to_osmo_lvl(lev), __FILE__, 0,
@@ -271,7 +271,7 @@ void osmo_rtp_init(void *ctx)
tall_rtp_ctx = ctx;
ortp_set_memory_functions(&osmo_ortp_memfn);
ortp_init();
- ortp_set_log_level_mask(0xffff);
+ ortp_set_log_level_mask(ORTP_LOG_DOMAIN, 0xffff);
ortp_set_log_handler(my_ortp_logfn);
create_payload_types();
}