From: Anthony Minessale Date: Thu, 10 Nov 2016 23:45:00 +0000 (-0600) Subject: FS-9708 X-Git-Tag: v1.8.0~1099 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed33641c7546570082e21c895e17b2294e135193;p=thirdparty%2Ffreeswitch.git FS-9708 --- diff --git a/src/switch_core_media.c b/src/switch_core_media.c index 5cf2f2b624..973efa351c 100644 --- a/src/switch_core_media.c +++ b/src/switch_core_media.c @@ -6284,7 +6284,7 @@ static void *SWITCH_THREAD_FUNC audio_write_thread(switch_thread_t *thread, void } - if (switch_frame_buffer_pop(a_engine->write_fb, &pop) == SWITCH_STATUS_SUCCESS && pop) { + if (switch_frame_buffer_trypop(a_engine->write_fb, &pop) == SWITCH_STATUS_SUCCESS && pop) { switch_frame_t *frame = (switch_frame_t *)pop; if ((switch_size_t)pop == 1) {