aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-05-06 12:12:39 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-05-06 23:59:10 +0200
commitc13b5d96c8ad4be1e5d954649b635f192c8c76d7 (patch)
tree0519cfa1cac5f724639f89f5b4984c61efd8a07e
parent41ea317ced70cc4da17ea814be124de650c3f0af (diff)
downloadffmpeg-c13b5d96c8ad4be1e5d954649b635f192c8c76d7.tar.gz
avcodec/aac/aacdec_float: Call ff_aac_float_common_init() only once
That's enough. Reviewed-by: Lynne <dev@lynne.ee> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavcodec/aac/aacdec_float.c4
1 files changed, 2 insertions, 2 deletions
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;
}