mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
lavfi/riscv: depend on RVB and simplify accordingly
This commit is contained in:
parent
616fdeaea3
commit
f30e5bf1f5
@ -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…
x
Reference in New Issue
Block a user