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>
release/7.1
Andreas Rheinhardt 7 months ago
parent 41ea317ced
commit c13b5d96c8
  1. 4
      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;
}

Loading…
Cancel
Save