aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/g729dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-09-24 19:52:19 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-09-24 21:11:00 +0200
commitce7c954800681ed789e44fc6bbd25205c41da9d1 (patch)
tree01c0d30bcbfb98cbfc0d8f6e04f3e678b4077afe /libavcodec/g729dec.c
parentc458bff934c1ab50ce629b4f4e26626e6f037aca (diff)
downloadffmpeg-ce7c954800681ed789e44fc6bbd25205c41da9d1.tar.gz
g729dec: Make 2 functions static that are not used outside g729dec.c
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/g729dec.c')
-rw-r--r--libavcodec/g729dec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/g729dec.c b/libavcodec/g729dec.c
index e1d4df9b43..0c6fffaaa4 100644
--- a/libavcodec/g729dec.c
+++ b/libavcodec/g729dec.c
@@ -252,7 +252,7 @@ static void lsf_restore_from_previous(int16_t* lsfq,
* @param gain_code (14.1) gain code
* @param subframe_size length of the subframe
*/
-void g729d_get_new_exc(
+static void g729d_get_new_exc(
int16_t* out,
const int16_t* in,
const int16_t* fc_cur,
@@ -280,7 +280,7 @@ void g729d_get_new_exc(
*
* @return onset decision result for current subframe
*/
-int g729d_onset_decision(int past_onset, const int16_t* past_gain_code)
+static int g729d_onset_decision(int past_onset, const int16_t* past_gain_code)
{
if((past_gain_code[0] >> 1) > past_gain_code[1])
return 2;