libks: bump to 1.8.0
[feed/telephony.git] / net / freeswitch / patches / 430-mod_opusfile-format-error.patch
1 --- a/src/mod/formats/mod_opusfile/mod_opusfile.c
2 +++ b/src/mod/formats/mod_opusfile/mod_opusfile.c
3 @@ -930,7 +930,7 @@ static int decode_stream_cb(void *dconte
4 if (globals.debug) {
5 switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "[OGG/OPUS Stream Decode] decode CB called: context: %p data: %p packet_len: %d\n",
6 (void *)context, data, nbytes);
7 - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "[OGG/OPUS Stream Decode] decode_stream_cb(): switch_thread_self(): %lx\n", switch_thread_self());
8 + 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());
9 }
10
11 switch_mutex_lock(context->ogg_mutex);
12 @@ -973,7 +973,7 @@ static void *SWITCH_THREAD_FUNC read_str
13 int buffered_ogg_bytes;
14
15 if (globals.debug) {
16 - 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());
17 + 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());
18 }
19 switch_thread_rwlock_rdlock(context->rwlock);
20 switch_mutex_lock(context->ogg_mutex);