diff --git a/libavcodec/qcelpdec.c b/libavcodec/qcelpdec.c
index 16f9ae0be9dde704ded898cd1926611b89ac2c43..745d9690f8cb150ae2e2e1762fb808eeab0755bd 100644
--- a/libavcodec/qcelpdec.c
+++ b/libavcodec/qcelpdec.c
@@ -598,7 +598,7 @@ static void lspf2lpc(const float *lspf, float *lpc)
  * @param lpc float vector for the resulting LPC
  * @param subframe_num frame number in decoded stream
  */
-void interpolate_lpc(QCELPContext *q, const float *curr_lspf, float *lpc,
+static void interpolate_lpc(QCELPContext *q, const float *curr_lspf, float *lpc,
                      const int subframe_num)
 {
     float interpolated_lspf[10];