From cbc856fab9862275c99a6638829d84058100497f Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 28 Jan 2008 17:45:12 +0000 Subject: [PATCH] fix FSCORE-96 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7407 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_rtp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 46823754dc..bec73885a7 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -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;