Ignore:
Timestamp:
May 11, 2007 3:14:34 PM (18 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/l16.c

    r974 r1266  
    429429    if (pj_list_empty(&l16_factory.codec_list)) { 
    430430 
    431         codec = pj_pool_alloc(l16_factory.pool, sizeof(pjmedia_codec)); 
     431        codec = PJ_POOL_ALLOC_T(l16_factory.pool, pjmedia_codec); 
    432432        codec->codec_data = pj_pool_alloc(l16_factory.pool,  
    433433                                          sizeof(struct l16_data)); 
     
    442442    /* Init private data */ 
    443443    ptime = GET_PTIME(id->clock_rate); 
    444     data = codec->codec_data; 
     444    data = (struct l16_data*) codec->codec_data; 
    445445    data->frame_size = ptime * id->clock_rate * id->channel_cnt * 2 / 1000; 
    446446 
Note: See TracChangeset for help on using the changeset viewer.