Changeset 271 for pjproject/trunk/pjmedia/src/pjmedia/sdp.c
- Timestamp:
- Mar 2, 2006 9:26:09 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/sdp.c
r199 r271 568 568 m->desc.fmt_count = rhs->desc.fmt_count; 569 569 for (i=0; i<rhs->desc.fmt_count; ++i) 570 m->desc.fmt[i] = rhs->desc.fmt[i];570 pj_strdup(pool, &m->desc.fmt[i], &rhs->desc.fmt[i]); 571 571 572 572 if (rhs->conn) { … … 679 679 *p++ = '\n'; 680 680 681 /* Connection line (c=) if exist. */ 682 if (ses->conn) { 683 printed = print_connection_info(ses->conn, p, end-p); 684 if (printed < 1) { 685 return -1; 686 } 687 p += printed; 688 } 689 690 681 691 /* Time */ 682 692 if ((end-p) < 24) { … … 692 702 *p++ = '\r'; 693 703 *p++ = '\n'; 694 695 /* Connection line (c=) if exist. */696 if (ses->conn) {697 printed = print_connection_info(ses->conn, p, end-p);698 if (printed < 1) {699 return -1;700 }701 p += printed;702 }703 704 704 705 /* Print all attribute (a=) lines. */
Note: See TracChangeset
for help on using the changeset viewer.