From c01fe7f901e889df039ebab4aa29ac63c7d4b667 Mon Sep 17 00:00:00 2001 From: Jeff Lenk Date: Fri, 4 Dec 2009 18:10:27 +0000 Subject: [PATCH] fix runaway ptime mismatch with xlite and bv git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15788 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/mod_sofia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index b7a4bca92c..6b9f1380e5 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -815,7 +815,7 @@ static switch_status_t sofia_read_frame(switch_core_session_t *session, switch_f } - if (tech_pvt->last_codec_ms && tech_pvt->last_codec_ms == codec_ms) { + if (tech_pvt->last_codec_ms && tech_pvt->last_codec_ms != codec_ms) { tech_pvt->mismatch_count++; }