diff mbox series

[FFmpeg-devel,1/2] lavc/aarch64: remove bogus HAVE_VFP guard

Message ID 20230714163448.31727-1-remi@remlab.net
State Accepted
Commit 82cb4b1c05519523150f589fd020f5df0b66461b
Headers show
Series [FFmpeg-devel,1/2] lavc/aarch64: remove bogus HAVE_VFP guard | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Rémi Denis-Courmont July 14, 2023, 4:34 p.m. UTC
The IMDCT offset is only relevant for NEON optimisations. There are no
VFP optimisations here that would justify the HAVE_VFP flag. In
practice, this makes no difference because HAVE_NEON is practically
always true for standard Armv8 platforms.
---
 libavcodec/aarch64/synth_filter_init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/libavcodec/aarch64/synth_filter_init.c b/libavcodec/aarch64/synth_filter_init.c
index 801b46e217..6b6da35b54 100644
--- a/libavcodec/aarch64/synth_filter_init.c
+++ b/libavcodec/aarch64/synth_filter_init.c
@@ -28,7 +28,7 @@ 
 
 #include "asm-offsets.h"
 
-#if HAVE_NEON || HAVE_VFP
+#if HAVE_NEON
 AV_CHECK_OFFSET(FFTContext, imdct_half, IMDCT_HALF);
 #endif