aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/riscv
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-28 13:29:19 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-02 02:54:11 +0100
commit88b3b09afa5ef00dfc89a5904614bd51de65c21b (patch)
treeb81c1c704ac810f4a68b7661ddb0c39eb0283311 /libavcodec/riscv
parent6c693da690d2618b36c801f0b10607a4f68eaad6 (diff)
downloadffmpeg-88b3b09afa5ef00dfc89a5904614bd51de65c21b.tar.gz
avcodec/aacenc: Move initializing DSP out of aacenc.c
Otherwise aacenc.o gets pulled in by the aacencdsp checkasm test and it in turn pulls the rest of lavc in. Besides being bad size-wise this also has the downside that it pulls in avpriv_(cga|vga16)_font from libavutil which are marked as being imported from another library when building libavcodec as a DLL and this breaks checkasm because it links both lavc and lavu statically. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/riscv')
-rw-r--r--libavcodec/riscv/aacencdsp_init.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/riscv/aacencdsp_init.c b/libavcodec/riscv/aacencdsp_init.c
index 83ae16f46b..b27af9d973 100644
--- a/libavcodec/riscv/aacencdsp_init.c
+++ b/libavcodec/riscv/aacencdsp_init.c
@@ -22,13 +22,12 @@
#include "config.h"
#include "libavutil/attributes.h"
-#include "libavutil/float_dsp.h"
#include "libavutil/cpu.h"
-#include "libavcodec/aacenc.h"
+#include "libavcodec/aacencdsp.h"
void ff_abs_pow34_rvv(float *out, const float *in, const int size);
-av_cold void ff_aac_dsp_init_riscv(AACEncContext *s)
+av_cold void ff_aacenc_dsp_init_riscv(AACEncDSPContext *s)
{
#if HAVE_RVV
int flags = av_get_cpu_flags();