Changeset 693 for pjproject/trunk/pjmedia/src/pjmedia/stream.c
- Timestamp:
- Sep 2, 2006 11:45:18 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/stream.c
r635 r693 1274 1274 for (i=0; i<digit_char->slen; ++i) { 1275 1275 unsigned pt; 1276 1277 if (digit_char->ptr[i] >= '0' && 1278 digit_char->ptr[i]<= '9')1276 int dig = pj_tolower(digit_char->ptr[i]); 1277 1278 if (dig >= '0' && dig <= '9') 1279 1279 { 1280 pt = dig it_char->ptr[i]- '0';1280 pt = dig - '0'; 1281 1281 } 1282 else if (pj_tolower(digit_char->ptr[i]) >= 'a' && 1283 pj_tolower(digit_char->ptr[i]) <= 'd') 1282 else if (dig >= 'a' && dig <= 'd') 1284 1283 { 1285 pt = pj_tolower(digit_char->ptr[i])- 'a' + 12;1284 pt = dig - 'a' + 12; 1286 1285 } 1287 else if (dig it_char->ptr[i]== '*')1286 else if (dig == '*') 1288 1287 { 1289 1288 pt = 10; 1290 1289 } 1291 else if (dig it_char->ptr[i]== '#')1290 else if (dig == '#') 1292 1291 { 1293 1292 pt = 11;
Note: See TracChangeset
for help on using the changeset viewer.