diff mbox series

[FFmpeg-devel,07/12] avcodec/aac/aacdec_float: Call ff_aac_float_common_init() only once

Message ID GV1P250MB07379130DEF40EF80F2636928F1C2@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit c13b5d96c8ad4be1e5d954649b635f192c8c76d7
Headers show
Series [FFmpeg-devel,1/3] avcodec/aactab: Provide ff_ltp_coef, ff_tns_tmp2_map unconditionally | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt May 6, 2024, 12:14 p.m. UTC
That's enough.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/aac/aacdec_float.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/libavcodec/aac/aacdec_float.c b/libavcodec/aac/aacdec_float.c
index 5c4eec1204..511db1a604 100644
--- a/libavcodec/aac/aacdec_float.c
+++ b/libavcodec/aac/aacdec_float.c
@@ -64,6 +64,8 @@  static void init_tables_float_fn(void)
     AAC_RENAME(ff_init_ff_sine_windows)(9);
 
     AAC_RENAME(ff_aac_sbr_init)();
+
+    ff_aac_float_common_init();
 }
 
 static int init(AACDecContext *ac)
@@ -75,8 +77,6 @@  static int init(AACDecContext *ac)
     if (!ac->fdsp)
         return AVERROR(ENOMEM);
 
-    ff_aac_float_common_init();
-
     return 0;
 }