Changeset 4537 for pjproject/trunk/pjmedia/src/pjmedia/jbuf.c
- Timestamp:
- Jun 19, 2013 6:47:43 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/jbuf.c
r4369 r4537 976 976 min_frame_size = PJ_MIN(frame_size, jb->jb_frame_size); 977 977 status = jb_framelist_put_at(&jb->jb_framelist, frame_seq, frame, 978 min_frame_size, bit_info, ts,978 (unsigned)min_frame_size, bit_info, ts, 979 979 PJMEDIA_JB_NORMAL_FRAME); 980 980 … … 990 990 */ 991 991 distance = (frame_seq - jb_framelist_origin(&jb->jb_framelist)) - 992 jb->jb_max_count + 1;992 (int)jb->jb_max_count + 1; 993 993 pj_assert(distance > 0); 994 994 995 995 removed = jb_framelist_remove_head(&jb->jb_framelist, distance); 996 996 status = jb_framelist_put_at(&jb->jb_framelist, frame_seq, frame, 997 min_frame_size, bit_info, ts,997 (unsigned)min_frame_size, bit_info, ts, 998 998 PJMEDIA_JB_NORMAL_FRAME); 999 999 … … 1126 1126 PJ_ASSERT_RETURN(jb && state, PJ_EINVAL); 1127 1127 1128 state->frame_size = jb->jb_frame_size;1128 state->frame_size = (unsigned)jb->jb_frame_size; 1129 1129 state->min_prefetch = jb->jb_min_prefetch; 1130 1130 state->max_prefetch = jb->jb_max_prefetch;
Note: See TracChangeset
for help on using the changeset viewer.