summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2017-10-23 10:44:07 +0300
committerMartin Storsjö <martin@martin.st>2017-10-24 09:06:56 +0300
commit17f5171cd4753e7f50e6d95df069bccbc90265bf (patch)
tree3176bf59c75d18afc72bf0832a9eaac2b4313454
parente724bdfffbd3c27aac53d1f32f20f105f37caef0 (diff)
downloadffmpeg-streaming-17f5171cd4753e7f50e6d95df069bccbc90265bf.zip
ffmpeg-streaming-17f5171cd4753e7f50e6d95df069bccbc90265bf.tar.gz
arm: Check for have_vfp_vm instead of !have_vfpv3 for float_dsp_vfp
This was missed in e2710e790c0 since those functions weren't exercised by checkasm. Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r--libavutil/arm/float_dsp_init_vfp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/arm/float_dsp_init_vfp.c b/libavutil/arm/float_dsp_init_vfp.c
index 61ff2ed..79ba6ec 100644
--- a/libavutil/arm/float_dsp_init_vfp.c
+++ b/libavutil/arm/float_dsp_init_vfp.c
@@ -36,11 +36,11 @@ void ff_butterflies_float_vfp(float *restrict v1, float *restrict v2, int len);
av_cold void ff_float_dsp_init_vfp(AVFloatDSPContext *fdsp, int cpu_flags)
{
- if (!have_vfpv3(cpu_flags)) {
+ if (have_vfp_vm(cpu_flags)) {
fdsp->vector_fmul = ff_vector_fmul_vfp;
fdsp->vector_fmul_window = ff_vector_fmul_window_vfp;
}
fdsp->vector_fmul_reverse = ff_vector_fmul_reverse_vfp;
- if (!have_vfpv3(cpu_flags))
+ if (have_vfp_vm(cpu_flags))
fdsp->butterflies_float = ff_butterflies_float_vfp;
}
OpenPOWER on IntegriCloud