From: Anthony Minessale Date: Mon, 16 Feb 2009 18:56:13 +0000 (+0000) Subject: FSCORE-300 X-Git-Tag: v1.0.3~94 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a43df25788dea788cd103d4cf9e0dc132bd9238;p=thirdparty%2Ffreeswitch.git FSCORE-300 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12062 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_core_io.c b/src/switch_core_io.c index 50ba7cc4b6..eaf8512641 100644 --- a/src/switch_core_io.c +++ b/src/switch_core_io.c @@ -800,7 +800,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_write_frame(switch_core_sess } if (session->write_codec) { - if (!ptime_mismatch && + if (!ptime_mismatch && write_frame->codec && write_frame->codec->implementation && write_frame->codec->implementation->decoded_bytes_per_packet == session->write_impl.decoded_bytes_per_packet) { perfect = TRUE; }