- Timestamp:
- Mar 30, 2012 8:05:43 AM (13 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk
- Property svn:mergeinfo changed
/pjproject/branches/1.x merged: 3879
- Property svn:mergeinfo changed
-
pjproject/trunk/pjmedia/src/pjmedia-codec/ipp_codecs.c
r3911 r4002 251 251 # if PJMEDIA_HAS_INTEL_IPP_CODEC_AMRWB 252 252 {1, "AMR-WB", PJMEDIA_RTP_PT_AMRWB, &USC_AMRWB_Fxns, 16000, 1, 320, 253 15850, 23850, 1, 1, 1,253 15850, 23850, 2, 1, 1, 254 254 &predecode_amr, &parse_amr, &pack_amr, 255 255 {1, {{{"octet-align", 11}, {"1", 1}}} } … … 513 513 pj_uint8_t SID_FT; 514 514 pjmedia_codec_amr_pack_setting *setting; 515 const pj_uint8_t *framelen_tbl; 515 516 516 517 setting = &((amr_settings_t*)codec_data->codec_setting)->enc_setting; 518 framelen_tbl = setting->amr_nb? pjmedia_codec_amrnb_framelen: 519 pjmedia_codec_amrwb_framelen; 517 520 518 521 SID_FT = (pj_uint8_t)(setting->amr_nb? 8 : 9); … … 539 542 frames[nframes].buf = r + 2; 540 543 frames[nframes].size = info->frame_type <= SID_FT ? 541 pjmedia_codec_amrnb_framelen[info->frame_type] : 542 0; 544 framelen_tbl[info->frame_type] : 0; 543 545 544 546 r += frames[nframes].size + 2;
Note: See TracChangeset
for help on using the changeset viewer.