[FFmpeg-cvslog] g729dec: Make 2 functions static that are not used outside g729dec.c

Michael Niedermayer git at videolan.org
Sat Sep 24 21:17:03 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Sep 24 19:52:19 2011 +0200| [ce7c954800681ed789e44fc6bbd25205c41da9d1] | committer: Michael Niedermayer

g729dec: Make 2 functions static that are not used outside g729dec.c

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ce7c954800681ed789e44fc6bbd25205c41da9d1
---

 libavcodec/g729dec.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/g729dec.c b/libavcodec/g729dec.c
index e1d4df9..0c6fffa 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;



More information about the ffmpeg-cvslog mailing list