summaryrefslogtreecommitdiff
path: root/pjmedia
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2014-01-23 08:13:11 +0000
committerNanang Izzuddin <nanang@teluu.com>2014-01-23 08:13:11 +0000
commit102c9ba757dfa17896e4d59ff8ff03edbc4d7524 (patch)
tree35489aebaaa4faff9bddd9c5b273d1621caa12cd /pjmedia
parent19876d4d3296c6cb7b3e573bdfcc8fedf0072ac3 (diff)
Misc (re #1630): Fixed symbols that should not be exported (thanks Tzafrir Cohen for the patch).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4713 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia')
-rw-r--r--pjmedia/src/pjmedia-codec/g722/g722_dec.c2
-rw-r--r--pjmedia/src/pjmedia-codec/speex_codec.c2
-rw-r--r--pjmedia/src/pjmedia/echo_suppress.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/pjmedia/src/pjmedia-codec/g722/g722_dec.c b/pjmedia/src/pjmedia-codec/g722/g722_dec.c
index 27300c52..d04ee3aa 100644
--- a/pjmedia/src/pjmedia-codec/g722/g722_dec.c
+++ b/pjmedia/src/pjmedia-codec/g722/g722_dec.c
@@ -450,7 +450,7 @@ static int block5h (int dh, int sh)
return (rh) ;
}
-void rx_qmf(g722_dec_t *dec, int rl, int rh, int *xout1, int *xout2)
+static void rx_qmf(g722_dec_t *dec, int rl, int rh, int *xout1, int *xout2)
{
int i;
diff --git a/pjmedia/src/pjmedia-codec/speex_codec.c b/pjmedia/src/pjmedia-codec/speex_codec.c
index ab9b509a..8a82b0ca 100644
--- a/pjmedia/src/pjmedia-codec/speex_codec.c
+++ b/pjmedia/src/pjmedia-codec/speex_codec.c
@@ -725,7 +725,7 @@ static pj_status_t spx_codec_modify(pjmedia_codec *codec,
/* This function will iterate frames & submodes in the Speex bits.
* Returns 0 if a frame found, otherwise returns -1.
*/
-int speex_get_next_frame(SpeexBits *bits)
+static int speex_get_next_frame(SpeexBits *bits)
{
static const int inband_skip_table[NB_SUBMODES] =
{1, 1, 4, 4, 4, 4, 4, 4, 8, 8, 16, 16, 32, 32, 64, 64 };
diff --git a/pjmedia/src/pjmedia/echo_suppress.c b/pjmedia/src/pjmedia/echo_suppress.c
index 85a6efb4..ec699d71 100644
--- a/pjmedia/src/pjmedia/echo_suppress.c
+++ b/pjmedia/src/pjmedia/echo_suppress.c
@@ -125,7 +125,7 @@ typedef enum talk_state
ST_REM_TALK
} talk_state_t;
-const char *state_names[] =
+static const char *state_names[] =
{
"Null",
"local talking",