[FFmpeg-cvslog] swscale/x86/rgb_2_rgb: add missing wrap to ff_uyvytoyuv422_avx2

James Almer git at videolan.org
Sun Jun 9 22:04:57 EEST 2024


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sun Jun  9 16:04:28 2024 -0300| [17c3cc5bb60f3a6ac5569d56c60956bc4ab77ed8] | committer: James Almer

swscale/x86/rgb_2_rgb: add missing wrap to ff_uyvytoyuv422_avx2

Fixes old yasm.

Signed-off-by: James Almer <jamrial at gmail.com>

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

 libswscale/x86/rgb_2_rgb.asm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libswscale/x86/rgb_2_rgb.asm b/libswscale/x86/rgb_2_rgb.asm
index c4aa8d883c..45a21dd0bf 100644
--- a/libswscale/x86/rgb_2_rgb.asm
+++ b/libswscale/x86/rgb_2_rgb.asm
@@ -259,6 +259,8 @@ UYVY_TO_YUV422
 
 INIT_XMM avx
 UYVY_TO_YUV422
+%if HAVE_AVX2_EXTERNAL
 INIT_YMM avx2
 UYVY_TO_YUV422
 %endif
+%endif



More information about the ffmpeg-cvslog mailing list