Changeset 2015 for pjproject/trunk/pjmedia/src/pjmedia-codec/gsm.c
- Timestamp:
- Jun 13, 2008 12:52:56 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-codec/gsm.c
r1985 r2015 598 598 #if !PLC_DISABLED 599 599 if (gsm_data->plc_enabled) 600 pjmedia_plc_save( gsm_data->plc, output->buf);600 pjmedia_plc_save( gsm_data->plc, (pj_int16_t*)output->buf); 601 601 #endif 602 602 … … 613 613 struct pjmedia_frame *output) 614 614 { 615 struct gsm_data *gsm_data = codec->codec_data;615 struct gsm_data *gsm_data = (struct gsm_data*) codec->codec_data; 616 616 617 617 PJ_ASSERT_RETURN(gsm_data->plc_enabled, PJ_EINVALIDOP); … … 619 619 PJ_ASSERT_RETURN(output_buf_len >= 320, PJMEDIA_CODEC_EPCMTOOSHORT); 620 620 621 pjmedia_plc_generate(gsm_data->plc, output->buf);621 pjmedia_plc_generate(gsm_data->plc, (pj_int16_t*)output->buf); 622 622 output->size = 320; 623 623
Note: See TracChangeset
for help on using the changeset viewer.