diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-08-23 19:39:21 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-08-29 11:24:14 +0200 |
commit | 7ffda66fd5c81af4725bff7c2c4f207ba2aa0613 (patch) | |
tree | 80b2c9f3ce1633fa0f6919e1a0a08137978d8fea /libavutil/arm/float_dsp_init_vfp.c | |
parent | bd549cbaacd33dfb7be81d0619c9b107b8a85be7 (diff) | |
download | ffmpeg-7ffda66fd5c81af4725bff7c2c4f207ba2aa0613.tar.gz |
arm: float_dsp: Propagate cpu_flags to vfp initialization function
Diffstat (limited to 'libavutil/arm/float_dsp_init_vfp.c')
-rw-r--r-- | libavutil/arm/float_dsp_init_vfp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavutil/arm/float_dsp_init_vfp.c b/libavutil/arm/float_dsp_init_vfp.c index b6a226a4dd..31cb6aea60 100644 --- a/libavutil/arm/float_dsp_init_vfp.c +++ b/libavutil/arm/float_dsp_init_vfp.c @@ -29,10 +29,8 @@ void ff_vector_fmul_vfp(float *dst, const float *src0, const float *src1, void ff_vector_fmul_reverse_vfp(float *dst, const float *src0, const float *src1, int len); -av_cold void ff_float_dsp_init_vfp(AVFloatDSPContext *fdsp) +av_cold void ff_float_dsp_init_vfp(AVFloatDSPContext *fdsp, int cpu_flags) { - int cpu_flags = av_get_cpu_flags(); - if (!have_vfpv3(cpu_flags)) fdsp->vector_fmul = ff_vector_fmul_vfp; fdsp->vector_fmul_reverse = ff_vector_fmul_reverse_vfp; |