Ignore:
Timestamp:
Sep 14, 2006 6:51:01 PM (18 years ago)
Author:
bennylp
Message:

Fix the local IP address resolution issue in PJSIP, PJMEDIA, and PJSUA, by adding a new API pj_gethostip() to resolve the default local IP address of local host. This new function will work even when local hostname resolution is not set correctly, by detecting the default IP interface in the system.

Also fix compile warnings in iLBC.

File:
1 edited

Legend:

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

    r638 r721  
    128128               pp=buf+LPC_FILTERORDER+lMem-lTarget; 
    129129               for (j=0; j<lTarget; j++) { 
    130                    *ppe+=(*pp)*(*pp++); 
     130                   *ppe+=(*pp)*(*pp); 
     131                   ++pp; 
    131132               } 
    132133 
     
    323324               pp=cbvectors+lMem-lTarget; 
    324325               for (j=0; j<lTarget; j++) { 
    325                    *ppe+=(*pp)*(*pp++); 
     326                   *ppe+=(*pp)*(*pp); 
     327                   ++pp; 
    326328               } 
    327329 
Note: See TracChangeset for help on using the changeset viewer.