- Timestamp:
- Apr 13, 2011 6:05:09 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/2.0-dev/pjmedia/src/pjmedia-codec/h263_packetizer.c
r3495 r3529 44 44 pj_size_t data_len) 45 45 { 46 pj_uint8_t *p = data, *end = data+data_len ;46 pj_uint8_t *p = data, *end = data+data_len-1; 47 47 48 48 while (p < end && *p && *(p+1)) … … 63 63 pj_size_t data_len) 64 64 { 65 pj_uint8_t *p = data+data_len- 1;66 67 while (p > data && *p && *(p+1))65 pj_uint8_t *p = data+data_len-2; 66 67 while (p >= data && *p && *(p+1)) 68 68 --p; 69 69 70 if (p ==data)70 if (p < data) 71 71 return (data + data_len); 72 72
Note: See TracChangeset
for help on using the changeset viewer.