]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-6195 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 6 Feb 2014 17:24:05 +0000 (22:24 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 6 Feb 2014 17:24:05 +0000 (22:24 +0500)
src/switch_rtp.c

index 1d297a16b94325fe5c08394ac0b43080ba03d9f2..f493d046efa5179dd6dab7fcbe1d491a76d22d95 100644 (file)
@@ -5258,7 +5258,7 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_
                                                                if ((other_rtp_session = switch_channel_get_private(other_channel, "__rtcp_audio_rtp_session")) && 
                                                                        other_rtp_session->rtcp_sock_output &&
                                                                        switch_rtp_test_flag(other_rtp_session, SWITCH_RTP_FLAG_ENABLE_RTCP)) {
-                                                                       *other_rtp_session->rtcp_send_msg.body = *rtp_session->rtcp_recv_msg_p->body;
+                                                                       other_rtp_session->rtcp_send_msg = rtp_session->rtcp_recv_msg;
 
                                                                        if (rtp_session->rtcp_recv_msg_p->header.type == 206) {
                                                                                rtcp_ext_msg_t *extp = (rtcp_ext_msg_t *) rtp_session->rtcp_recv_msg_p;