You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
riscv: Fix linking without RVV; change #ifdef into #if
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user