Changeset 2904


Ignore:
Timestamp:
Aug 20, 2009 1:06:17 PM (10 years ago)
Author:
bennylp
Message:

Ticket #952: Error in calculating RTP packet extended header (thanks Thomas Falk for the patch)

File:
1 edited

Legend:

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

    r2394 r2904  
    171171        pjmedia_rtp_ext_hdr *ext = (pjmedia_rtp_ext_hdr*)  
    172172                                    (((pj_uint8_t*)pkt) + offset); 
    173         offset += (pj_ntohs(ext->length) * sizeof(pj_uint32_t)); 
     173        offset += ((pj_ntohs(ext->length)+1) * sizeof(pj_uint32_t)); 
    174174    } 
    175175 
Note: See TracChangeset for help on using the changeset viewer.