Ignore:
Timestamp:
May 11, 2007 3:14:34 PM (14 years ago)
Author:
bennylp
Message:

HUGE changeset to make the rest of the libraries compile with C++ mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-codec/ilbc.c

    r1169 r1266  
    320320    PJ_ASSERT_RETURN(pool != NULL, PJ_ENOMEM); 
    321321 
    322     codec = pj_pool_zalloc(pool, sizeof(struct ilbc_codec)); 
     322    codec = PJ_POOL_ZALLOC_T(pool, struct ilbc_codec); 
    323323    codec->base.op = &ilbc_op; 
    324324    codec->base.factory = factory; 
     
    531531 
    532532        is_silence = pjmedia_silence_det_detect(ilbc_codec->vad,  
    533                                                 input->buf, 
     533                                                (const pj_int16_t*)input->buf, 
    534534                                                (input->size >> 1), 
    535535                                                NULL); 
     
    586586 
    587587    /* Decode to temporary buffer */ 
    588     iLBC_decode(ilbc_codec->dec_block, input->buf, 
     588    iLBC_decode(ilbc_codec->dec_block, (unsigned char*) input->buf, 
    589589                &ilbc_codec->dec, 1); 
    590590 
Note: See TracChangeset for help on using the changeset viewer.