avcodec/x86/vvc/dsp_init: Mark dsp init function as av_cold

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2026-02-19 02:22:49 +01:00
parent af3f8f5bd2
commit 6c1c1720cf

View File

@@ -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();