Ignore:
Timestamp:
Jan 27, 2009 10:05:48 AM (16 years ago)
Author:
bennylp
Message:

Ticket #707: pjmedia-test: link error when L16 codec is disabled, and compile error due to Unicode platform in sdp_test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/test/sdp_neg_test.c

    r2394 r2429  
    13291329    pj_status_t status; 
    13301330 
    1331     status = pjmedia_sdp_parse(pool, oa->sdp1, pj_native_strlen(oa->sdp1), 
     1331    status = pjmedia_sdp_parse(pool, oa->sdp1, pj_ansi_strlen(oa->sdp1), 
    13321332                                &sdp1); 
    13331333    if (status != PJ_SUCCESS) { 
     
    13711371 
    13721372        /* Parse and validate remote answer */ 
    1373         status = pjmedia_sdp_parse(pool, oa->sdp2, pj_native_strlen(oa->sdp2), 
     1373        status = pjmedia_sdp_parse(pool, oa->sdp2, pj_ansi_strlen(oa->sdp2), 
    13741374                                   &sdp2); 
    13751375        if (status != PJ_SUCCESS) { 
     
    14061406 
    14071407        /* Parse and validate the correct active media. */ 
    1408         status = pjmedia_sdp_parse(pool, oa->sdp3, pj_native_strlen(oa->sdp3), 
     1408        status = pjmedia_sdp_parse(pool, oa->sdp3, pj_ansi_strlen(oa->sdp3), 
    14091409                                   &sdp3); 
    14101410        if (status != PJ_SUCCESS) { 
     
    14481448        if (oa->sdp2) { 
    14491449            /* Parse and validate initial local capability */ 
    1450             status = pjmedia_sdp_parse(pool, oa->sdp2, pj_native_strlen(oa->sdp2), 
     1450            status = pjmedia_sdp_parse(pool, oa->sdp2, pj_ansi_strlen(oa->sdp2), 
    14511451                                       &sdp2); 
    14521452            if (status != PJ_SUCCESS) { 
     
    15081508 
    15091509        /* Parse the correct answer. */ 
    1510         status = pjmedia_sdp_parse(pool, oa->sdp3, pj_native_strlen(oa->sdp3), 
     1510        status = pjmedia_sdp_parse(pool, oa->sdp3, pj_ansi_strlen(oa->sdp3), 
    15111511                                   &sdp3); 
    15121512        if (status != PJ_SUCCESS) { 
Note: See TracChangeset for help on using the changeset viewer.