[FFmpeg-cvslog] avcodec/aac/aacdec_lpd: Make ff_aac_lpd_mode_tab static

Andreas Rheinhardt git at videolan.org
Thu Apr 3 07:28:57 EEST 2025


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Mon Mar 31 17:43:54 2025 +0200| [2b9b4dde93350287ac53eaa2b688025f1b972df0] | committer: Andreas Rheinhardt

avcodec/aac/aacdec_lpd: Make ff_aac_lpd_mode_tab static

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

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

 libavcodec/aac/aacdec_lpd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/aac/aacdec_lpd.c b/libavcodec/aac/aacdec_lpd.c
index a4b91a510f..0dd8cbe741 100644
--- a/libavcodec/aac/aacdec_lpd.c
+++ b/libavcodec/aac/aacdec_lpd.c
@@ -22,7 +22,7 @@
 #include "aacdec_usac.h"
 #include "libavcodec/unary.h"
 
-const uint8_t ff_aac_lpd_mode_tab[32][4] = {
+static const uint8_t aac_lpd_mode_tab[32][4] = {
     { 0, 0, 0, 0 },
     { 1, 0, 0, 0 },
     { 0, 1, 0, 0 },
@@ -159,7 +159,7 @@ int ff_aac_ldp_parse_channel_stream(AACDecContext *ac, AACUSACConfig *usac,
     ce->ldp.core_mode_last = get_bits1(gb);
     ce->ldp.fac_data_present = get_bits1(gb);
 
-    mod = ff_aac_lpd_mode_tab[ce->ldp.lpd_mode];
+    mod = aac_lpd_mode_tab[ce->ldp.lpd_mode];
 
     first_ldp_flag = !ce->ldp.core_mode_last;
     if (first_ldp_flag)



More information about the ffmpeg-cvslog mailing list