lavfi/riscv: depend on RVB and simplify accordingly

release/7.1
Rémi Denis-Courmont 5 months ago
parent 616fdeaea3
commit f30e5bf1f5
  1. 2
      libavfilter/riscv/af_afir_init.c

@ -34,7 +34,7 @@ av_cold void ff_afir_init_riscv(AudioFIRDSPContext *s)
int flags = av_get_cpu_flags(); int flags = av_get_cpu_flags();
if (flags & AV_CPU_FLAG_RVV_F64) { if (flags & AV_CPU_FLAG_RVV_F64) {
if (flags & AV_CPU_FLAG_RVB_ADDR) { if (flags & AV_CPU_FLAG_RVB) {
s->fcmul_add = ff_fcmul_add_rvv; s->fcmul_add = ff_fcmul_add_rvv;
} }
} }

Loading…
Cancel
Save