From: Anthony Minessale Date: Tue, 28 Mar 2006 21:22:05 +0000 (+0000) Subject: logical err X-Git-Tag: v1.0-beta1~2992 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76109c51249f9d7997fe074ad5e14258a5e27872;p=thirdparty%2Ffreeswitch.git logical err git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@957 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_core.c b/src/switch_core.c index 9059b9c8e2..79e5fd38db 100644 --- a/src/switch_core.c +++ b/src/switch_core.c @@ -992,7 +992,7 @@ SWITCH_DECLARE(switch_status) switch_core_session_read_frame(switch_core_session } } - if (switch_buffer_inuse(session->raw_read_buffer) >= session->read_codec->implementation->bytes_per_frame) { + if (perfect || switch_buffer_inuse(session->raw_read_buffer) >= session->read_codec->implementation->bytes_per_frame) { unsigned int flag = 0; if (perfect) {