diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-06-21 17:50:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-06-21 17:50:24 +0100 |
commit | feb0daf81d888e9160f9f94502de09b66f2a63fd (patch) | |
tree | b6e5c40ce2abef3da27ed50a023153f475e0ddef /media-video/ffmpeg/files/ffmpeg-4.3-fix-build-without-SSSE3.patch | |
parent | 9452a6e87b6c2c70513bc47a2470bf9f1168920e (diff) |
gentoo resync : 21.06.2020
Diffstat (limited to 'media-video/ffmpeg/files/ffmpeg-4.3-fix-build-without-SSSE3.patch')
-rw-r--r-- | media-video/ffmpeg/files/ffmpeg-4.3-fix-build-without-SSSE3.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/media-video/ffmpeg/files/ffmpeg-4.3-fix-build-without-SSSE3.patch b/media-video/ffmpeg/files/ffmpeg-4.3-fix-build-without-SSSE3.patch new file mode 100644 index 000000000000..c3e6733160f6 --- /dev/null +++ b/media-video/ffmpeg/files/ffmpeg-4.3-fix-build-without-SSSE3.patch @@ -0,0 +1,22 @@ +https://bugs.gentoo.org/728566 +http://ffmpeg.org/pipermail/ffmpeg-devel/2020-February/257474.html + +--- a/libswscale/x86/yuv2rgb.c ++++ b/libswscale/x86/yuv2rgb.c +@@ -83,6 +83,7 @@ av_cold SwsFunc ff_yuv2rgb_init_x86(SwsContext *c) + #if HAVE_X86ASM + int cpu_flags = av_get_cpu_flags(); + ++#if HAVE_SSSE3 + if (EXTERNAL_SSSE3(cpu_flags)) { + switch (c->dstFormat) { + case AV_PIX_FMT_RGB32: +@@ -111,6 +112,7 @@ av_cold SwsFunc ff_yuv2rgb_init_x86(SwsContext *c) + return yuv420_rgb15_ssse3; + } + } ++#endif + + if (EXTERNAL_MMXEXT(cpu_flags)) { + switch (c->dstFormat) { + |