- Timestamp:
- Mar 8, 2018 11:54:40 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/sdp.c
r5748 r5753 549 549 attr->name = pj_str("ssrc"); 550 550 attr->value.ptr = (char*) pj_pool_alloc(pool, cname->slen+7 /* " cname:"*/ 551 + 10 /* 32-bit integer */); 552 attr->value.slen = pj_ansi_snprintf(attr->value.ptr, cname->slen+17, 551 + 10 /* 32-bit integer */ 552 + 1 /* NULL */); 553 attr->value.slen = pj_ansi_snprintf(attr->value.ptr, cname->slen+18, 553 554 "%d cname:%.*s", ssrc, 554 555 (int)cname->slen, cname->ptr);
Note: See TracChangeset
for help on using the changeset viewer.