diff --git a/libavcodec/ac3.c b/libavcodec/ac3.c
index 8fa60e67d5e5a52bbf5a0d85f90427bd971ca6b9..23eee52661a4f4c87202991a6d01e98f630410f6 100644
--- a/libavcodec/ac3.c
+++ b/libavcodec/ac3.c
@@ -241,7 +241,7 @@ void ff_ac3_bit_alloc_calc_bap(int16_t *mask, int16_t *psd, int start, int end,
  * note: This function must remain thread safe because it is called by the
  *       AVParser init code.
  */
-av_cold void ac3_common_init(void)
+av_cold void ff_ac3_common_init(void)
 {
 #if !CONFIG_HARDCODED_TABLES
     /* compute bin_to_band_tab from band_start_tab */
diff --git a/libavcodec/ac3.h b/libavcodec/ac3.h
index 283b134329b5d31c5507312f9c88ec59d51aeae4..405e3cd0a385b41a6f7d55d5e6d56d92cadb83a6 100644
--- a/libavcodec/ac3.h
+++ b/libavcodec/ac3.h
@@ -115,7 +115,7 @@ typedef enum {
     EAC3_FRAME_TYPE_RESERVED
 } EAC3FrameType;
 
-void ac3_common_init(void);
+void ff_ac3_common_init(void);
 
 /**
  * Calculate the log power-spectral density of the input signal.
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c
index 32172dc9069bd4095cc4e100d5821c208c543b8e..33c5f742e5c248a257b50dc6b6ebb9e20e25b308 100644
--- a/libavcodec/ac3dec.c
+++ b/libavcodec/ac3dec.c
@@ -187,7 +187,7 @@ static av_cold int ac3_decode_init(AVCodecContext *avctx)
     AC3DecodeContext *s = avctx->priv_data;
     s->avctx = avctx;
 
-    ac3_common_init();
+    ff_ac3_common_init();
     ac3_tables_init();
     ff_mdct_init(&s->imdct_256, 8, 1, 1.0);
     ff_mdct_init(&s->imdct_512, 9, 1, 1.0);
diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c
index f058d79882a7a3c17f5ea5581cc8b362206efdba..ed7a171ac7e9a5ab5668e09e955190310023f113 100644
--- a/libavcodec/ac3enc.c
+++ b/libavcodec/ac3enc.c
@@ -1815,7 +1815,7 @@ static av_cold int ac3_encode_init(AVCodecContext *avctx)
 
     avctx->frame_size = AC3_FRAME_SIZE;
 
-    ac3_common_init();
+    ff_ac3_common_init();
 
     ret = validate_options(avctx, s);
     if (ret)