mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-16 12:21:18 +00:00
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>
This commit is contained in:
parent
41ea317ced
commit
c13b5d96c8
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user