Changeset 3449
- Timestamp:
- Mar 15, 2011 11:25:00 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/2.0-dev/pjmedia/include/pjmedia/format.h
r3425 r3449 463 463 { 464 464 #if PJ_HAS_INT64 465 return ((unsigned)( bps * usec_ptime / PJ_UINT64(8000000)));465 return ((unsigned)((pj_uint64_t)bps * usec_ptime / PJ_UINT64(8000000))); 466 466 #elif PJ_HAS_FLOATING_POINT 467 return ((unsigned)( bps * usec_ptime / 8000000.0));467 return ((unsigned)(1.0 * bps * usec_ptime / 8000000.0)); 468 468 #else 469 469 return ((unsigned)(bps / 8L * usec_ptime / 1000000));
Note: See TracChangeset
for help on using the changeset viewer.