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

index 4e7ca5aca1a8c48e54a8e622edda41e906b3570f..0c0963155eb26286fcaeb469a718aabcdbc55b30 100644 (file)
@@ -3553,7 +3553,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_test_flag(other_rtp_session, SWITCH_RTP_FLAG_ENABLE_RTCP)) {
-                                                                       *other_rtp_session->rtcp_send_msg.body = *rtp_session->rtcp_recv_msg.body;
+                                                                       other_rtp_session->rtcp_send_msg = rtp_session->rtcp_recv_msg;
 
 #ifdef ENABLE_SRTP
                                                                        if (switch_test_flag(other_rtp_session, SWITCH_RTP_FLAG_SECURE_SEND)) {