riscv: Fix linking without RVV; change #ifdef into #if

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö 2022-09-29 08:02:40 +03:00
parent fff010591b
commit 6059ea2a14
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ void ff_int32_to_float_fmul_array8_rvv(FmtConvertContext *c, float *dst,
av_cold void ff_fmt_convert_init_riscv(FmtConvertContext *c)
{
#ifdef HAVE_RVV
#if HAVE_RVV
int flags = av_get_cpu_flags();
if (flags & AV_CPU_FLAG_RVV_F32) {