diff --git a/libavutil/arm/cpu.h b/libavutil/arm/cpu.h index 5563fc1c690269dcb8c3cb8b8248bb6759e0082c..127993e5ddb5f6e54c34f14fea3d848efce99608 100644 --- a/libavutil/arm/cpu.h +++ b/libavutil/arm/cpu.h @@ -33,7 +33,7 @@ /* some functions use the VFPv2 vector mode which is deprecated in ARMv7-A * and might trap on such CPU depending on the OS configuration */ #define have_vfp_vm(flags) \ - (have_armv6(flags) && ((flags) & AV_CPU_FLAG_VFP_VM)) + (HAVE_VFP && ((flags) & AV_CPU_FLAG_VFP_VM)) /* Some functions use the 'setend' instruction which is deprecated on ARMv8 * and serializing on some ARMv7 cores. This macro ensures such functions