Changeset 2851 for pjproject/trunk
- Timestamp:
- Aug 1, 2009 9:23:15 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-codec/ipp_codecs.c
r2760 r2851 1150 1150 (ippc->pt==PJMEDIA_RTP_PT_AMRWB && *p>='0' && *p<='8')) 1151 1151 { 1152 pj_int8_t tmp = *p - '0' - enc_mode;1152 pj_int8_t tmp = (pj_int8_t)(*p - '0' - enc_mode); 1153 1153 1154 1154 if (PJ_ABS(diff) > PJ_ABS(tmp) || … … 1165 1165 goto on_error; 1166 1166 1167 enc_mode = enc_mode + diff;1167 enc_mode = (pj_int8_t)(enc_mode + diff); 1168 1168 1169 1169 break;
Note: See TracChangeset
for help on using the changeset viewer.