Changeset 1266 for pjproject/trunk/pjmedia/src/pjmedia-codec/l16.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/l16.c
r974 r1266 429 429 if (pj_list_empty(&l16_factory.codec_list)) { 430 430 431 codec = pj_pool_alloc(l16_factory.pool, sizeof(pjmedia_codec));431 codec = PJ_POOL_ALLOC_T(l16_factory.pool, pjmedia_codec); 432 432 codec->codec_data = pj_pool_alloc(l16_factory.pool, 433 433 sizeof(struct l16_data)); … … 442 442 /* Init private data */ 443 443 ptime = GET_PTIME(id->clock_rate); 444 data = codec->codec_data;444 data = (struct l16_data*) codec->codec_data; 445 445 data->frame_size = ptime * id->clock_rate * id->channel_cnt * 2 / 1000; 446 446
Note: See TracChangeset
for help on using the changeset viewer.