[FFmpeg-cvslog] avcodec/aac/aacdec_float: Call ff_aac_float_common_init() only once
Andreas Rheinhardt
git at videolan.org
Tue May 7 01:08:21 EEST 2024
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Mon May 6 12:12:39 2024 +0200| [c13b5d96c8ad4be1e5d954649b635f192c8c76d7] | committer: Andreas Rheinhardt
avcodec/aac/aacdec_float: Call ff_aac_float_common_init() only once
That's enough.
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=c13b5d96c8ad4be1e5d954649b635f192c8c76d7
---
libavcodec/aac/aacdec_float.c | 4 ++--
1 file 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;
}
More information about the ffmpeg-cvslog
mailing list