Ignore:
Timestamp:
Jun 26, 2008 3:48:14 PM (13 years ago)
Author:
bennylp
Message:

Specifying star in codec selection will select all codecs. Fixed the codec selection in codec.c to select all codecs when empty string is given.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/codec.c

    r2039 r2061  
    232232    for (i=0; i<mgr->codec_cnt; ++i) { 
    233233 
    234         if (pj_strnicmp2(codec_id, mgr->codec_desc[i].id,  
     234        if (codec_id->slen == 0 || 
     235            pj_strnicmp2(codec_id, mgr->codec_desc[i].id,  
    235236                         codec_id->slen) == 0)  
    236237        { 
Note: See TracChangeset for help on using the changeset viewer.