mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-10 09:13:24 +00:00
Merge pull request #2395 from seven1240/fix-mac-build
[mod_shout] fix build with new clang on macOS
This commit is contained in:
commit
102e4c07ea
@ -619,7 +619,11 @@ static void *SWITCH_THREAD_FUNC write_stream_thread(switch_thread_t *thread, voi
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
memset(mp3buf, 0, 128);
|
memset(mp3buf, 0, 128);
|
||||||
shout_send(context->shout, mp3buf, 128);
|
ret = shout_send(context->shout, mp3buf, 128);
|
||||||
|
if (ret != SHOUTERR_SUCCESS) {
|
||||||
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Send error: %s\n", shout_get_error(context->shout));
|
||||||
|
goto error;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
shout_sync(context->shout);
|
shout_sync(context->shout);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user