]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
replace missing line
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 5 Dec 2008 15:40:34 +0000 (15:40 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 5 Dec 2008 15:40:34 +0000 (15:40 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10612 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/mod_sofia.c

index 5d48c7e7548e7a7fbdd33ca169c72bcabbb1f55a..70b56b6ca94894612495482cefddf13bde08ff9c 100644 (file)
@@ -721,7 +721,9 @@ 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) {
                                                                tech_pvt->mismatch_count++;
                                                        }
-                                                       
+
+                                                       tech_pvt->last_codec_ms = codec_ms;
+
                                                        if (tech_pvt->mismatch_count > MAX_MISMATCH_FRAMES) {
                                                                if (switch_rtp_ready(tech_pvt->rtp_session) && codec_ms != tech_pvt->codec_ms) {
                                                                        const char *val;