Changeset 3708
- Timestamp:
- Aug 17, 2011 10:03:53 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/sdp_neg.c
r3664 r3708 1126 1126 const pjmedia_sdp_media *offer, 1127 1127 const pjmedia_sdp_media *preanswer, 1128 const pjmedia_sdp_session *preanswer_sdp, 1128 1129 pjmedia_sdp_media **p_answer) 1129 1130 { … … 1143 1144 /* If offer has zero port, just clone the offer */ 1144 1145 if (offer->desc.port == 0) { 1145 answer = sdp_media_clone_deactivate(pool, offer, preanswer, NULL); 1146 answer = sdp_media_clone_deactivate(pool, offer, preanswer, 1147 preanswer_sdp); 1146 1148 *p_answer = answer; 1147 1149 return PJ_SUCCESS; … … 1438 1440 /* See if it has matching codec. */ 1439 1441 status = match_offer(pool, prefer_remote_codec_order, 1440 om, im, &am);1442 om, im, initial, &am); 1441 1443 if (status == PJ_SUCCESS) { 1442 1444 /* Mark media as used. */
Note: See TracChangeset
for help on using the changeset viewer.