From 3c194f390fe7e18a6e2e51eb4f29495eb230585e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Wed, 1 Jun 2011 22:15:36 +0200 Subject: [PATCH] Replace "vector const" by "const vector" otherwise gcc 4.6.0 fails. Given that this compiles fine with the Apple compiler that is probably a gcc bug, but "const vector" is nicer anyway. --- libswscale/ppc/yuv2rgb_altivec.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libswscale/ppc/yuv2rgb_altivec.c b/libswscale/ppc/yuv2rgb_altivec.c index 626d55f5f7..8aaa987e62 100644 --- a/libswscale/ppc/yuv2rgb_altivec.c +++ b/libswscale/ppc/yuv2rgb_altivec.c @@ -298,7 +298,7 @@ static int altivec_##name (SwsContext *c, \ vector signed short R1,G1,B1; \ vector unsigned char R,G,B; \ \ - vector const unsigned char *y1ivP, *y2ivP, *uivP, *vivP; \ + const vector unsigned char *y1ivP, *y2ivP, *uivP, *vivP; \ vector unsigned char align_perm; \ \ vector signed short \ @@ -335,10 +335,10 @@ static int altivec_##name (SwsContext *c, \ \ for (j=0;j