Changeset 1266 for pjproject/trunk/pjmedia/src/pjmedia-codec/ilbc.c
- Timestamp:
- May 11, 2007 3:14:34 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-codec/ilbc.c
r1169 r1266 320 320 PJ_ASSERT_RETURN(pool != NULL, PJ_ENOMEM); 321 321 322 codec = pj_pool_zalloc(pool, sizeof(struct ilbc_codec));322 codec = PJ_POOL_ZALLOC_T(pool, struct ilbc_codec); 323 323 codec->base.op = &ilbc_op; 324 324 codec->base.factory = factory; … … 531 531 532 532 is_silence = pjmedia_silence_det_detect(ilbc_codec->vad, 533 input->buf,533 (const pj_int16_t*)input->buf, 534 534 (input->size >> 1), 535 535 NULL); … … 586 586 587 587 /* Decode to temporary buffer */ 588 iLBC_decode(ilbc_codec->dec_block, input->buf,588 iLBC_decode(ilbc_codec->dec_block, (unsigned char*) input->buf, 589 589 &ilbc_codec->dec, 1); 590 590
Note: See TracChangeset
for help on using the changeset viewer.