From b6b613a4e59e2177a2e899dc4e21ab660c05de3d Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Thu, 14 Sep 2006 18:51:01 +0000 Subject: 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. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@721 74dad513-b988-da41-8d7b-12977e46ad98 --- pjmedia/src/pjmedia-codec/ilbc/iCBSearch.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pjmedia/src/pjmedia-codec') diff --git a/pjmedia/src/pjmedia-codec/ilbc/iCBSearch.c b/pjmedia/src/pjmedia-codec/ilbc/iCBSearch.c index 0f65e449..dfbc50b7 100644 --- a/pjmedia/src/pjmedia-codec/ilbc/iCBSearch.c +++ b/pjmedia/src/pjmedia-codec/ilbc/iCBSearch.c @@ -127,7 +127,8 @@ *ppe=0.0; pp=buf+LPC_FILTERORDER+lMem-lTarget; for (j=0; j0.0) { @@ -322,7 +323,8 @@ pp=cbvectors+lMem-lTarget; for (j=0; j