[FFmpeg-devel] [PATCH 2/2] checkasm/aacencdsp: initialize AAC tables

James Almer jamrial at gmail.com
Fri Nov 15 22:41:20 EET 2024


Without this, the tables will be zero and the tests completely useless.

Signed-off-by: James Almer <jamrial at gmail.com>
---
 tests/checkasm/aacencdsp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/checkasm/aacencdsp.c b/tests/checkasm/aacencdsp.c
index 5308a2ac03..d53a04c532 100644
--- a/tests/checkasm/aacencdsp.c
+++ b/tests/checkasm/aacencdsp.c
@@ -101,6 +101,7 @@ void checkasm_check_aacencdsp(void)
 {
     AACEncDSPContext s = { 0 };
     ff_aacenc_dsp_init(&s);
+    ff_aac_float_common_init();
 
     test_abs_pow34(&s);
     test_quant_bands(&s);
-- 
2.47.0



More information about the ffmpeg-devel mailing list