mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
checkasm: Use av_strlcatf for appending SME info after SVE
If we had SVE enabled and formatted info about its vector lengths, it would be overwritten by the SME info.
This commit is contained in:
@@ -1049,8 +1049,8 @@ int main(int argc, char *argv[])
|
||||
#endif
|
||||
#if ARCH_AARCH64 && HAVE_SME
|
||||
if (have_sme(av_get_cpu_flags()))
|
||||
snprintf(arch_info_buf, sizeof(arch_info_buf),
|
||||
"SME %d bits, ", 8 * ff_aarch64_sme_length());
|
||||
av_strlcatf(arch_info_buf, sizeof(arch_info_buf),
|
||||
"SME %d bits, ", 8 * ff_aarch64_sme_length());
|
||||
#endif
|
||||
#if ARCH_RISCV && HAVE_RVV
|
||||
if (av_get_cpu_flags() & AV_CPU_FLAG_RVV_I32)
|
||||
|
||||
Reference in New Issue
Block a user