From 9a43df25788dea788cd103d4cf9e0dc132bd9238 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 16 Feb 2009 18:56:13 +0000 Subject: [PATCH] FSCORE-300 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12062 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_core_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }