mirror of
https://github.com/openwrt/telephony.git
synced 2025-12-21 21:24:35 +04:00
- freetdm is now external - added the freeswitch library to InstallDev in preparation for freetdm package - add time64 change which always uses "lld" format and casts - various fixes related to general build and time64 especially - patches refreshed Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
21 lines
1.3 KiB
Diff
21 lines
1.3 KiB
Diff
--- a/src/mod/formats/mod_opusfile/mod_opusfile.c
|
|
+++ b/src/mod/formats/mod_opusfile/mod_opusfile.c
|
|
@@ -930,7 +930,7 @@ static int decode_stream_cb(void *dconte
|
|
if (globals.debug) {
|
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "[OGG/OPUS Stream Decode] decode CB called: context: %p data: %p packet_len: %d\n",
|
|
(void *)context, data, nbytes);
|
|
- switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "[OGG/OPUS Stream Decode] decode_stream_cb(): switch_thread_self(): %lx\n", switch_thread_self());
|
|
+ switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "[OGG/OPUS Stream Decode] decode_stream_cb(): switch_thread_self(): %lx\n", (unsigned long)(intptr_t)switch_thread_self());
|
|
}
|
|
|
|
switch_mutex_lock(context->ogg_mutex);
|
|
@@ -973,7 +973,7 @@ static void *SWITCH_THREAD_FUNC read_str
|
|
int buffered_ogg_bytes;
|
|
|
|
if (globals.debug) {
|
|
- switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "[OGG/OPUS Stream Decode] read_stream_thread(): switch_thread_self(): 0x%lx\n", switch_thread_self());
|
|
+ switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "[OGG/OPUS Stream Decode] read_stream_thread(): switch_thread_self(): 0x%lx\n", (unsigned long)(intptr_t)switch_thread_self());
|
|
}
|
|
switch_thread_rwlock_rdlock(context->rwlock);
|
|
switch_mutex_lock(context->ogg_mutex);
|