- Timestamp:
- Jan 23, 2014 8:09:29 AM (11 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/src/pjlib-util/dns.c
r4537 r4712 60 60 const pj_str_t *name) 61 61 { 62 pj_uint8_t * query, *p = (pj_uint8_t*)packet;62 pj_uint8_t *p = (pj_uint8_t*)packet; 63 63 const char *startlabel, *endlabel, *endname; 64 64 pj_size_t d; … … 81 81 82 82 /* Initialize query */ 83 query =p = ((pj_uint8_t*)packet)+sizeof(pj_dns_hdr);83 p = ((pj_uint8_t*)packet)+sizeof(pj_dns_hdr); 84 84 85 85 /* Tokenize name */ -
pjproject/trunk/pjlib/src/pjlib-test/test.c
r3553 r4712 216 216 int test_main(void) 217 217 { 218 int i;219 218 PJ_USE_EXCEPTION; 220 219 221 i =pj_AF_INET();220 pj_AF_INET(); 222 221 223 222 PJ_TRY { -
pjproject/trunk/pjmedia/src/pjmedia/rtcp.c
r4537 r4712 288 288 pj_int32_t transit; 289 289 pjmedia_rtp_status seq_st; 290 unsigned last_seq;291 290 292 291 #if !defined(PJMEDIA_HAS_RTCP_XR) || (PJMEDIA_HAS_RTCP_XR == 0) … … 303 302 304 303 /* Process the RTP packet. */ 305 last_seq = sess->seq_ctrl.max_seq;306 304 pjmedia_rtp_seq_update(&sess->seq_ctrl, (pj_uint16_t)seq, &seq_st); 307 305 … … 808 806 { 809 807 pj_uint32_t expected, expected_interval, received_interval, lost_interval; 810 pjmedia_rtcp_common *common;811 808 pjmedia_rtcp_sr *sr; 812 809 pjmedia_rtcp_rr *rr; … … 829 826 *ret_p_pkt = (void*) &sess->rtcp_sr_pkt; 830 827 *len = sizeof(pjmedia_rtcp_sr_pkt); 831 common = &sess->rtcp_sr_pkt.common;832 828 rr = &sess->rtcp_sr_pkt.rr; 833 829 sr = &sess->rtcp_sr_pkt.sr; … … 860 856 *ret_p_pkt = (void*) &sess->rtcp_rr_pkt; 861 857 *len = sizeof(pjmedia_rtcp_rr_pkt); 862 common = &sess->rtcp_rr_pkt.common;863 858 rr = &sess->rtcp_rr_pkt.rr; 864 859 sr = NULL; -
pjproject/trunk/pjmedia/src/pjmedia/sdp_neg.c
r4577 r4712 1034 1034 unsigned i; 1035 1035 pj_bool_t master_has_codec = 0, 1036 master_has_telephone_event = 0,1037 1036 master_has_other = 0, 1038 1037 found_matching_codec = 0, … … 1130 1129 1131 1130 if (!pj_stricmp2(&or_.enc_name, "telephone-event")) { 1132 master_has_telephone_event = 1;1133 1131 if (found_matching_telephone_event) 1134 1132 continue; -
pjproject/trunk/pjmedia/src/test/codec_vectors.c
r4537 r4712 127 127 128 128 if (out_frame.size) { 129 pj_size_t cnt; 130 131 cnt = fwrite(out_frame.buf, out_frame.size, 1, output); 129 fwrite(out_frame.buf, out_frame.size, 1, output); 132 130 133 131 if (encoded_frame_len == 0) -
pjproject/trunk/pjnath/src/pjnath/stun_msg.c
r4615 r4712 2301 2301 2302 2302 pj_stun_msg *msg; 2303 unsigned uattr_cnt;2304 2303 const pj_uint8_t *start_pdu = pdu; 2305 2304 pj_bool_t has_msg_int = PJ_FALSE; … … 2340 2339 2341 2340 /* Parse attributes */ 2342 uattr_cnt = 0;2343 2341 while (pdu_len >= 4) { 2344 2342 unsigned attr_type, attr_val_len; -
pjproject/trunk/pjnath/src/pjnath/stun_sock.c
r4615 r4712 955 955 process_app_data: 956 956 if (stun_sock->cb.on_rx_data) { 957 pj_bool_t ret; 958 959 ret = (*stun_sock->cb.on_rx_data)(stun_sock, data, (unsigned)size, 960 src_addr, addr_len); 957 (*stun_sock->cb.on_rx_data)(stun_sock, data, (unsigned)size, 958 src_addr, addr_len); 961 959 status = pj_grp_lock_release(stun_sock->grp_lock); 962 960 return status!=PJ_EGONE ? PJ_TRUE : PJ_FALSE; -
pjproject/trunk/pjsip/src/pjsip/sip_transport_udp.c
r4559 r4712 621 621 static pj_status_t start_async_read(struct udp_transport *tp) 622 622 { 623 pj_ioqueue_t *ioqueue;624 623 int i; 625 624 pj_status_t status; 626 627 ioqueue = pjsip_endpt_get_ioqueue(tp->base.endpt);628 625 629 626 /* Start reading the ioqueue. */ -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
r4561 r4712 4498 4498 */ 4499 4499 pjsip_rx_data *rdata; 4500 pjsip_msg *msg;4501 4500 pjsip_accept_hdr *accept_hdr; 4502 pj_status_t status;4503 4501 4504 4502 rdata = e->body.tsx_state.src.rdata; 4505 msg = rdata->msg_info.msg;4506 4503 4507 4504 /* Request MUST have message body, with Content-Type equal to … … 4523 4520 * the UI takes too long to process the message. 4524 4521 */ 4525 status =pjsip_dlg_respond( inv->dlg, rdata, 200, NULL, NULL, NULL);4522 pjsip_dlg_respond( inv->dlg, rdata, 200, NULL, NULL, NULL); 4526 4523 4527 4524 /* Process MESSAGE request */ -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_im.c
r4561 r4712 275 275 pjsip_accept_hdr *accept_hdr; 276 276 pjsip_msg *msg; 277 pj_status_t status;278 277 279 278 msg = rdata->msg_info.msg; … … 307 306 * the UI takes too long to process the message. 308 307 */ 309 status =pjsip_endpt_respond( pjsua_var.endpt, NULL, rdata, 200, NULL,310 308 pjsip_endpt_respond( pjsua_var.endpt, NULL, rdata, 200, NULL, 309 NULL, NULL, NULL); 311 310 312 311 /* For the source URI, we use Contact header if present, since -
pjproject/trunk/pjsip/src/test/msg_err_test.c
r3553 r4712 82 82 for (i=0; i<PJ_ARRAY_SIZE(test_entries); ++i) { 83 83 pjsip_parser_err_report err_list, *e; 84 pjsip_msg *msg;85 84 86 85 PJ_LOG(3,(THIS_FILE, " Parsing msg %d", i)); 87 86 pj_list_init(&err_list); 88 msg =pjsip_parse_msg(pool, test_entries[i].msg,89 87 pjsip_parse_msg(pool, test_entries[i].msg, 88 strlen(test_entries[i].msg), &err_list); 90 89 91 90 e = err_list.next; -
pjproject/trunk/pjsip/src/test/regc_test.c
r4420 r4712 546 546 pjsip_regc *regc; 547 547 pjsip_contact_hdr *h1, *h2; 548 pjsip_sip_uri *u1 , *u2;548 pjsip_sip_uri *u1; 549 549 unsigned i; 550 550 pj_status_t status; … … 603 603 604 604 u1 = (pjsip_sip_uri*) pjsip_uri_get_uri(h1->uri); 605 u2 = (pjsip_sip_uri*) pjsip_uri_get_uri(h2->uri);606 605 607 606 if (*u1->host.ptr == 'a') {
Note: See TracChangeset
for help on using the changeset viewer.