]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix FSCORE-96
authorAnthony Minessale <anthony.minessale@gmail.com>
Mon, 28 Jan 2008 17:45:12 +0000 (17:45 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Mon, 28 Jan 2008 17:45:12 +0000 (17:45 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7407 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_rtp.c

index 46823754dc8608cb566096583f523fffa89e73e9..bec73885a7ef413bd140369ff3a8956992c01866 100644 (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;