mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
riscv: Fix linking without RVV; change #ifdef into #if
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
fff010591b
commit
6059ea2a14
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue