forked from pool/ffmpeg-4
Jan Engelhardt
74e3fe2705
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=123
28 lines
1.3 KiB
Diff
28 lines
1.3 KiB
Diff
From: Jan Engelhardt <jengelh@inai.de>
|
|
Date: 2020-06-18 00:40:03.633300733 +0200
|
|
|
|
The standard ppc64 build tries to compile yuv2rgb_altivec, but this fails
|
|
because -mvsx is not in use.
|
|
|
|
libswscale/ppc/yuv2rgb_altivec.c: In function 'altivec_yuv2_abgr':
|
|
libswscale/ppc/yuv2rgb_altivec.c:338:18: error: implicit declaration of function 'vec_xl'; did you mean 'vec_rl'? [-Werror=implicit-funct
|
|
ion-declaration]
|
|
338 | y0 = vec_xl(0, y1i); \
|
|
libswscale/ppc/yuv2rgb_altivec.c:338:18: error: incompatible types when assigning to type '__vector unsigned char' {aka '__vector(16) unsigned char'} from type 'int'
|
|
338 | y0 = vec_xl(0, y1i); \
|
|
|
|
---
|
|
libswscale/ppc/Makefile | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: ffmpeg-4.3/libswscale/ppc/Makefile
|
|
===================================================================
|
|
--- ffmpeg-4.3.orig/libswscale/ppc/Makefile
|
|
+++ ffmpeg-4.3/libswscale/ppc/Makefile
|
|
@@ -1,4 +1,4 @@
|
|
-OBJS += ppc/swscale_altivec.o \
|
|
+VSX-OBJS += ppc/swscale_altivec.o \
|
|
ppc/yuv2rgb_altivec.o \
|
|
ppc/yuv2yuv_altivec.o \
|
|
ppc/swscale_vsx.o
|