From 6afe9ec4f7d17377b7c792d6ce22b3b43535eee0 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 26 Nov 2008 20:12:14 +0000 Subject: [PATCH] update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10547 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 7738dfb2cd..57e7786194 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -1361,7 +1361,7 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_ continue; } - if (bytes && rtp_session->recv_msg.header.m) { + if (bytes && rtp_session->recv_msg.header.m && rtp_session->recv_msg.header.pt != rtp_session->te) { rtp_flush_read_buffer(rtp_session); }