[FFmpeg-cvslog] avcodec/aactab: Provide ff_ltp_coef, ff_tns_tmp2_map unconditionally

Andreas Rheinhardt git at videolan.org
Tue May 7 01:08:10 EEST 2024


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Mon May  6 10:25:11 2024 +0200| [e6bf5400485a42ff197ea8a0f378ed6ab08856f7] | committer: Andreas Rheinhardt

avcodec/aactab: Provide ff_ltp_coef, ff_tns_tmp2_map unconditionally

The fixed point decoder needs it since
905fdb06010e554262fca3c12b362bb69a11de85.

Reviewed-by: Lynne <dev at lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

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

 libavcodec/aactab.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/aactab.c b/libavcodec/aactab.c
index 3cef9c5d2b..3718b81a07 100644
--- a/libavcodec/aactab.c
+++ b/libavcodec/aactab.c
@@ -105,6 +105,7 @@ av_cold void ff_aac_float_common_init(void)
     static AVOnce init_static_once = AV_ONCE_INIT;
     ff_thread_once(&init_static_once, aac_float_common_init);
 }
+#endif
 
 const float ff_ltp_coef[8] = {
     0.570829, 0.696616, 0.813004, 0.911304,
@@ -144,7 +145,6 @@ const float * const ff_tns_tmp2_map[4] = {
     tns_tmp2_map_1_3,
     tns_tmp2_map_1_4
 };
-#endif
 
 const uint8_t ff_aac_num_swb_1024[] = {
     41, 41, 47, 49, 49, 51, 47, 47, 43, 43, 43, 40, 40



More information about the ffmpeg-cvslog mailing list