Changeset 395
- Timestamp:
- 01/29/00 16:53:10 (13 years ago)
- Files:
-
- 1 modified
-
common/trunk/src/rtp.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
common/trunk/src/rtp.c
r386 r395 1794 1794 } else { 1795 1795 lsr = ((s->sr->ntp_sec & 0x0000ffff) << 16) | ((s->sr->ntp_frac & 0xffff0000) >> 16); 1796 dlsr = tv_diff(now, s->last_sr) * 65536;1796 dlsr = (uint32_t)(tv_diff(now, s->last_sr) * 65536); 1797 1797 } 1798 1798 rrp->ssrc = htonl(s->ssrc); … … 2083 2083 2084 2084 ((rtcp_t *) lpt)->common.p = TRUE; 2085 ((rtcp_t *) lpt)->common.length = htons(( (ptr - lpt) / 4) - 1);2085 ((rtcp_t *) lpt)->common.length = htons((int16_t)(((ptr - lpt) / 4) - 1)); 2086 2086 } 2087 2087 qfDES_CBC_e(session->encryption_key, buffer, ptr - buffer, initVec); … … 2234 2234 2235 2235 common->p = TRUE; 2236 common->length = htons(( (ptr - (uint8_t *) common) / 4) - 1);2236 common->length = htons((int16_t)(((ptr - (uint8_t *) common) / 4) - 1)); 2237 2237 } 2238 2238 assert(((ptr - buffer) % 8) == 0);
