]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
compiler errs from last commit
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 11 Jul 2012 20:35:49 +0000 (15:35 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 11 Jul 2012 20:35:49 +0000 (15:35 -0500)
src/switch_rtp.c

index bb428b1f090b1f34bd35e8a39ef9bbbc7b5dfd4f..d72374db785b2a4008251b880b4d7bccf090f2ad 100644 (file)
@@ -991,7 +991,7 @@ static int check_srtp_and_ice(switch_rtp_t *rtp_session)
                //rtp_msg_t *send_msg = &rtp_session->send_msg;
                switch_size_t rtcp_bytes;
                switch_byte_t *ptr = (switch_byte_t *)rtp_session->rtcp_send_msg.body;
-               switch_time_t when;
+               switch_time_t when = 0;
 
                rtp_session->rtcp_send_msg.header.version = 2;
                rtp_session->rtcp_send_msg.header.p = 0;
@@ -1053,7 +1053,7 @@ static int check_srtp_and_ice(switch_rtp_t *rtp_session)
 
                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG10, "Setting RTCP src-1 LENGTH  to %d (%d, %s)\n", sr->sr_desc_ssrc.length, sr->sr_desc_head.length, str_cname);
                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG10, "Setting msw = %d, lsw = %d \n", sr->ntp_msw, sr->ntp_lsw);
-               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG10, "now = %lld, now lo = %d, now hi = %d\n", (int64_t)when, (int32_t)(when&0xFFFFFFFF), (int32_t)((when>>32&0xFFFFFFFF)));
+               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG10, "now = %ld, now lo = %d, now hi = %d\n", (int64_t)when, (int32_t)(when&0xFFFFFFFF), (int32_t)((when>>32&0xFFFFFFFF)));
 
                rtcp_bytes = sizeof(switch_rtcp_hdr_t) + sizeof(struct switch_rtcp_senderinfo) + sr->sr_desc_ssrc.length -1 ;
                rtp_session->rtcp_send_msg.header.length = htons((u_short)(rtcp_bytes / 4) - 1);