Changeset 1669 for pjproject/trunk
- Timestamp:
- Jan 8, 2008 4:03:18 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/delaybuf.c
r1664 r1669 84 84 85 85 pj_ansi_strncpy(b->obj_name, name, PJ_MAX_OBJ_NAME-1); 86 b->frame_buf = pj_pool_zalloc(pool, samples_per_frame * max_cnt * 86 b->frame_buf = (pj_int16_t*) 87 pj_pool_zalloc(pool, samples_per_frame * max_cnt * 87 88 sizeof(pj_int16_t)); 88 89 b->samples_per_frame = samples_per_frame; … … 108 109 static void update(pjmedia_delay_buf *b, enum OP op) 109 110 { 110 enum OP other = !op;111 enum OP other = (enum OP) !op; 111 112 112 113 switch (b->state) {
Note: See TracChangeset
for help on using the changeset viewer.