[FFmpeg-cvslog] lavc/aarch64: remove bogus HAVE_VFP guard

Rémi Denis-Courmont git at videolan.org
Sat Jul 15 22:56:34 EEST 2023


ffmpeg | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Jul 14 19:23:02 2023 +0300| [82cb4b1c05519523150f589fd020f5df0b66461b] | committer: Rémi Denis-Courmont

lavc/aarch64: remove bogus HAVE_VFP guard

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.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=82cb4b1c05519523150f589fd020f5df0b66461b
---

 libavcodec/aarch64/synth_filter_init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
 



More information about the ffmpeg-cvslog mailing list