Changeset 3860 for pjproject/trunk


Ignore:
Timestamp:
Oct 26, 2011 6:53:30 AM (13 years ago)
Author:
bennylp
Message:

Fixed #1402: crash when adding new media

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c

    r3858 r3860  
    16881688    if (async) { 
    16891689        call->med_ch_cb = cb; 
    1690         if (rem_sdp) { 
    1691             call->async_call.rem_sdp = 
    1692                 pjmedia_sdp_session_clone(call->inv->pool_prov, rem_sdp); 
    1693         } 
     1690    } 
     1691 
     1692    if (rem_sdp) { 
     1693        call->async_call.rem_sdp = 
     1694            pjmedia_sdp_session_clone(call->inv->pool_prov, rem_sdp); 
     1695    } else { 
     1696        call->async_call.rem_sdp = NULL; 
    16941697    } 
    16951698 
Note: See TracChangeset for help on using the changeset viewer.