]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix runaway ptime mismatch with xlite and bv
authorJeff Lenk <jeff@jefflenk.com>
Fri, 4 Dec 2009 18:10:27 +0000 (18:10 +0000)
committerJeff Lenk <jeff@jefflenk.com>
Fri, 4 Dec 2009 18:10:27 +0000 (18:10 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15788 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/mod_sofia.c

index b7a4bca92cbbfb27105048aaaa65389ed6f8f216..6b9f1380e5d7be6b06f5d7f26b24a5466585ef85 100644 (file)
@@ -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++;
                                                        }