mirror of https://git.ffmpeg.org/ffmpeg.git
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
|
@ -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)
|
av_cold void ff_fmt_convert_init_riscv(FmtConvertContext *c)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_RVV
|
#if HAVE_RVV
|
||||||
int flags = av_get_cpu_flags();
|
int flags = av_get_cpu_flags();
|
||||||
|
|
||||||
if (flags & AV_CPU_FLAG_RVV_F32) {
|
if (flags & AV_CPU_FLAG_RVV_F32) {
|
||||||
|
|
Loading…
Reference in New Issue