[FFmpeg-cvslog] swscale/x86/rgb2rgb: add missing wrap for ff_uyvytoyuv422_avx2

James Almer git at videolan.org
Sun Jun 9 21:57:16 EEST 2024


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sun Jun  9 15:56:43 2024 -0300| [03546f49a3ffd5e42c1d7596b43a1d42db586d05] | committer: James Almer

swscale/x86/rgb2rgb: add missing wrap for ff_uyvytoyuv422_avx2

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

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

 libswscale/x86/rgb2rgb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libswscale/x86/rgb2rgb.c b/libswscale/x86/rgb2rgb.c
index 4b567e8049..4d6ba9ff21 100644
--- a/libswscale/x86/rgb2rgb.c
+++ b/libswscale/x86/rgb2rgb.c
@@ -2432,10 +2432,10 @@ av_cold void rgb2rgb_init_x86(void)
         shuffle_bytes_1230 = ff_shuffle_bytes_1230_avx2;
         shuffle_bytes_3012 = ff_shuffle_bytes_3012_avx2;
         shuffle_bytes_3210 = ff_shuffle_bytes_3210_avx2;
-#endif
     }
     if (EXTERNAL_AVX2_FAST(cpu_flags)) {
         uyvytoyuv422 = ff_uyvytoyuv422_avx2;
+#endif
     }
 #endif
 }



More information about the ffmpeg-cvslog mailing list