ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@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 <d...@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@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;
 }
 

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to