- Timestamp:
- Jun 13, 2008 12:52:56 PM (16 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-codec/gsm.c
r1985 r2015 598 598 #if !PLC_DISABLED 599 599 if (gsm_data->plc_enabled) 600 pjmedia_plc_save( gsm_data->plc, output->buf);600 pjmedia_plc_save( gsm_data->plc, (pj_int16_t*)output->buf); 601 601 #endif 602 602 … … 613 613 struct pjmedia_frame *output) 614 614 { 615 struct gsm_data *gsm_data = codec->codec_data;615 struct gsm_data *gsm_data = (struct gsm_data*) codec->codec_data; 616 616 617 617 PJ_ASSERT_RETURN(gsm_data->plc_enabled, PJ_EINVALIDOP); … … 619 619 PJ_ASSERT_RETURN(output_buf_len >= 320, PJMEDIA_CODEC_EPCMTOOSHORT); 620 620 621 pjmedia_plc_generate(gsm_data->plc, output->buf);621 pjmedia_plc_generate(gsm_data->plc, (pj_int16_t*)output->buf); 622 622 output->size = 320; 623 623 -
pjproject/trunk/pjmedia/src/pjmedia/resample_port.c
r1955 r2015 189 189 frame->size = tmp_frame.size < rport->base.info.bytes_per_frame ? 190 190 tmp_frame.size : rport->base.info.bytes_per_frame; 191 if (tmp_frame.size) 192 pjmedia_copy_samples(frame->buf, tmp_frame.buf, frame->size >> 1); 191 if (tmp_frame.size) { 192 pjmedia_copy_samples((pj_int16_t*)frame->buf, 193 (const pj_int16_t*)tmp_frame.buf, 194 frame->size >> 1); 195 } 193 196 return PJ_SUCCESS; 194 197 } -
pjproject/trunk/pjmedia/src/pjmedia/transport_srtp.c
r2011 r2015 1187 1187 pjmedia_sdp_media *m_rem, *m_loc; 1188 1188 pj_status_t status; 1189 inti;1189 unsigned i; 1190 1190 1191 1191 PJ_ASSERT_RETURN(tp && pool && sdp_local && sdp_remote, PJ_EINVAL); -
pjproject/trunk/pjnath/src/pjnath-test/server.c
r1988 r2015 630 630 631 631 pj_sockaddr_cp(&pa->sockaddr, src_addr); 632 da->data = data;632 da->data = (pj_uint8_t*)data; 633 633 da->length = size; 634 634 -
pjproject/trunk/pjnath/src/pjnath-test/stun_sock_test.c
r1988 r2015 53 53 pj_ssize_t sent; 54 54 55 srv = pj_activesock_get_user_data(asock);55 srv = (struct stun_srv*) pj_activesock_get_user_data(asock); 56 56 57 57 /* Ignore error */ … … 195 195 struct stun_client *client; 196 196 197 client = pj_stun_sock_get_user_data(stun_sock);197 client = (struct stun_client*) pj_stun_sock_get_user_data(stun_sock); 198 198 client->on_status_cnt++; 199 199 client->last_op = op; … … 222 222 PJ_UNUSED_ARG(addr_len); 223 223 224 client = pj_stun_sock_get_user_data(stun_sock);224 client = (struct stun_client*) pj_stun_sock_get_user_data(stun_sock); 225 225 client->on_rx_data_cnt++; 226 226 -
pjproject/trunk/pjsip/src/pjsip-ua/sip_reg.c
r1992 r2015 309 309 pj_create_unique_string(regc->pool, &xuid_param->value); 310 310 311 sip_uri = pjsip_uri_get_uri(hdr->uri);311 sip_uri = (pjsip_sip_uri*) pjsip_uri_get_uri(hdr->uri); 312 312 pj_list_push_back(&sip_uri->other_param, xuid_param); 313 313 }
Note: See TracChangeset
for help on using the changeset viewer.