fix regression from change last week

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11137 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-01-12 17:12:09 +00:00
parent a280368895
commit bb35643915
1 changed files with 2 additions and 1 deletions

View File

@ -805,7 +805,8 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_write_frame(switch_core_sess
}
if (session->write_codec) {
if (write_frame->codec->implementation->decoded_bytes_per_packet == session->write_codec->implementation->decoded_bytes_per_packet) {
if (!ptime_mismatch &&
write_frame->codec->implementation->decoded_bytes_per_packet == session->write_codec->implementation->decoded_bytes_per_packet) {
perfect = TRUE;
} else {
if (!session->raw_write_buffer) {