Changeset 3921
- Timestamp:
- Dec 26, 2011 9:00:42 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r3915 r3921 1344 1344 1345 1345 if (status != PJ_SUCCESS) 1346 goto on_ error;1346 goto on_return; 1347 1347 1348 1348 if (call_med->tp_st == PJSUA_MED_TP_CREATING) … … 1369 1369 err_code = PJSIP_SC_NOT_ACCEPTABLE; 1370 1370 status = PJSIP_ESESSIONINSECURE; 1371 goto on_ error;1371 goto on_return; 1372 1372 } 1373 1373 } … … 1389 1389 if (status != PJ_SUCCESS) { 1390 1390 err_code = PJSIP_SC_INTERNAL_SERVER_ERROR; 1391 goto on_ error;1391 goto on_return; 1392 1392 } 1393 1393 … … 1408 1408 1409 1409 1410 on_ error:1410 on_return: 1411 1411 if (status != PJ_SUCCESS && call_med->tp) { 1412 1412 pjmedia_transport_close(call_med->tp); … … 1558 1558 if (status != PJ_SUCCESS) { 1559 1559 pjsua_media_channel_deinit(call_id); 1560 goto on_ error;1560 goto on_return; 1561 1561 } 1562 1562 … … 1599 1599 call->med_ch_info.sip_err_code = PJSIP_SC_NOT_ACCEPTABLE; 1600 1600 pjsua_media_channel_deinit(call_id); 1601 goto on_ error;1601 goto on_return; 1602 1602 } 1603 1603 … … 1608 1608 call->med_ch_info.status = PJ_SUCCESS; 1609 1609 1610 on_ error:1610 on_return: 1611 1611 if (call->med_ch_cb) 1612 1612 (*call->med_ch_cb)(call->index, &call->med_ch_info); … … 1716 1716 */ 1717 1717 if (reinit) { 1718 pjmedia_sdp_session *sdp;1718 const pjmedia_sdp_session *sdp; 1719 1719 1720 1720 status = pjmedia_sdp_neg_get_active_local(call->inv->neg, &sdp);
Note: See TracChangeset
for help on using the changeset viewer.