Changeset 4283
- Timestamp:
- Oct 12, 2012 6:19:32 AM (12 years ago)
- Location:
- pjproject/trunk/pjmedia/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-audiodev/alsa_dev.c
r4130 r4283 233 233 234 234 /* Set device name */ 235 str cpy(adi->name, dev_name);235 strncpy(adi->name, dev_name, sizeof(adi->name)); 236 236 237 237 /* Check the number of playback channels */ -
pjproject/trunk/pjmedia/src/pjmedia/rtcp.c
r3999 r4283 753 753 /* Check and get BYE reason */ 754 754 if (size > 8) { 755 reason.slen = *((pj_uint8_t*)pkt+8); 755 reason.slen = PJ_MIN(sizeof(sess->stat.peer_sdes_buf_), 756 *((pj_uint8_t*)pkt+8)); 756 757 pj_memcpy(sess->stat.peer_sdes_buf_, ((pj_uint8_t*)pkt+9), 757 758 reason.slen);
Note: See TracChangeset
for help on using the changeset viewer.