fix FSCORE-96

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7407 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-01-28 17:45:12 +00:00
parent 020713ef0b
commit cbc856fab9
1 changed files with 2 additions and 0 deletions

View File

@ -1513,6 +1513,8 @@ static int rtp_common_write(switch_rtp_t *rtp_session,
if (flags && *flags & SFF_RFC2833) {
send_msg->header.pt = rtp_session->te;
}
data = send_msg->body;
datalen -= rtp_header_len;
} else {
uint8_t m = 0;