Changeset 4776 for pjproject/trunk/pjsip/src/pjsua2/endpoint.cpp
- Timestamp:
- Mar 4, 2014 4:25:31 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua2/endpoint.cpp
r4704 r4776 1562 1562 { 1563 1563 pjsua_codec_info pj_codec[MAX_CODEC_NUM]; 1564 unsigned count = 0;1564 unsigned count = MAX_CODEC_NUM; 1565 1565 1566 1566 PJSUA2_CHECK_EXPR( pjsua_enum_codecs(pj_codec, &count) ); … … 1568 1568 pj_enter_critical_section(); 1569 1569 clearCodecInfoList(); 1570 for (unsigned i=0; (i<count && i<MAX_CODEC_NUM);++i) {1570 for (unsigned i=0; i<count; ++i) { 1571 1571 CodecInfo *codec_info = new CodecInfo; 1572 1572
Note: See TracChangeset
for help on using the changeset viewer.