From 6c1c1720cf940057ace674efbcb4c0621bf535d2 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Thu, 19 Feb 2026 02:22:49 +0100 Subject: [PATCH] avcodec/x86/vvc/dsp_init: Mark dsp init function as av_cold Signed-off-by: Andreas Rheinhardt --- libavcodec/x86/vvc/dsp_init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/x86/vvc/dsp_init.c b/libavcodec/x86/vvc/dsp_init.c index 357f4ea8a1..cd3d02c0fb 100644 --- a/libavcodec/x86/vvc/dsp_init.c +++ b/libavcodec/x86/vvc/dsp_init.c @@ -23,6 +23,7 @@ #include "config.h" +#include "libavutil/attributes.h" #include "libavutil/cpu.h" #include "libavutil/x86/cpu.h" #include "libavcodec/vvc/dec.h" @@ -321,7 +322,7 @@ int ff_vvc_sad_avx2(const int16_t *src0, const int16_t *src1, int dx, int dy, in #endif // ARCH_X86_64 -void ff_vvc_dsp_init_x86(VVCDSPContext *const c, const int bd) +av_cold void ff_vvc_dsp_init_x86(VVCDSPContext *const c, const int bd) { #if ARCH_X86_64 const int cpu_flags = av_get_cpu_flags();