git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10547 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-11-26 20:12:14 +00:00
parent e6e32725f3
commit 6afe9ec4f7

View File

@ -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);
}