mirror of https://git.ffmpeg.org/ffmpeg.git
arm: Remove a redundant check in fmtconvert_init_arm.c
This was missed in e2710e790c
, where have_vfp && !have_vfpv3 were
converted into have_vfp_vm.
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
17f5171cd4
commit
b487add7ec
|
@ -42,11 +42,9 @@ av_cold void ff_fmt_convert_init_arm(FmtConvertContext *c, AVCodecContext *avctx
|
||||||
int cpu_flags = av_get_cpu_flags();
|
int cpu_flags = av_get_cpu_flags();
|
||||||
|
|
||||||
if (have_vfp_vm(cpu_flags)) {
|
if (have_vfp_vm(cpu_flags)) {
|
||||||
if (!have_vfpv3(cpu_flags)) {
|
|
||||||
c->int32_to_float_fmul_scalar = ff_int32_to_float_fmul_scalar_vfp;
|
c->int32_to_float_fmul_scalar = ff_int32_to_float_fmul_scalar_vfp;
|
||||||
c->int32_to_float_fmul_array8 = ff_int32_to_float_fmul_array8_vfp;
|
c->int32_to_float_fmul_array8 = ff_int32_to_float_fmul_array8_vfp;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (have_neon(cpu_flags)) {
|
if (have_neon(cpu_flags)) {
|
||||||
c->int32_to_float_fmul_array8 = ff_int32_to_float_fmul_array8_neon;
|
c->int32_to_float_fmul_array8 = ff_int32_to_float_fmul_array8_neon;
|
||||||
|
|
Loading…
Reference in New Issue