Changeset 4325
- Timestamp:
- Jan 18, 2013 8:47:39 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/jbuf.c
r4100 r4325 600 600 jb->jb_prefetch = jb->jb_init_prefetch = prefetch; 601 601 602 pjmedia_jbuf_set_discard(jb, PJMEDIA_JB_DISCARD_NONE); 602 603 return PJ_SUCCESS; 603 604 } … … 725 726 if (jb->jb_prefetch < jb->jb_min_prefetch) 726 727 jb->jb_prefetch = jb->jb_min_prefetch; 728 if (jb->jb_prefetch > jb->jb_max_prefetch) 729 jb->jb_prefetch = jb->jb_max_prefetch; 727 730 } 728 731 … … 748 751 if (jb->jb_prefetch > jb->jb_max_prefetch) 749 752 jb->jb_prefetch = jb->jb_max_prefetch; 753 if (jb->jb_prefetch < jb->jb_min_prefetch) 754 jb->jb_prefetch = jb->jb_min_prefetch; 750 755 } 751 756
Note: See TracChangeset
for help on using the changeset viewer.