Changeset 3856 for pjproject/trunk


Ignore:
Timestamp:
Oct 25, 2011 12:44:24 PM (13 years ago)
Author:
nanang
Message:

Re #1300: Bug in updating SDP rtpmap in symmetric PT when PT offer is shorter than our default, the rtpmap value length was not updated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/sdp_neg.c

    r3841 r3856  
    11381138        *attr_val = new_val; 
    11391139    } else if (len_diff < 0) { 
     1140        attr_val->slen += len_diff; 
    11401141        pj_memmove(attr_val->ptr, attr_val->ptr - len_diff, 
    1141                    attr_val->slen + len_diff + 1); 
     1142                   attr_val->slen + 1); 
    11421143    } 
    11431144    pj_memcpy(attr_val->ptr, new_pt->ptr, new_pt->slen); 
Note: See TracChangeset for help on using the changeset viewer.