From ed33641c7546570082e21c895e17b2294e135193 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 10 Nov 2016 17:45:00 -0600 Subject: [PATCH] FS-9708 --- src/switch_core_media.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {