# HG changeset patch # User reimar # Date 1279982635 0 # Node ID dcd1791cabb3ade11eccbc52e7f53957b4360a13 # Parent b90559772910ba092a01e142f95a61fea1b90b9f Fix compilation, forgot to add const also to the definition of ff_yuv2packedX_altivec diff -r b90559772910 -r dcd1791cabb3 libswscale/ppc/yuv2rgb_altivec.c --- a/libswscale/ppc/yuv2rgb_altivec.c Sat Jul 24 11:37:58 2010 +0000 +++ b/libswscale/ppc/yuv2rgb_altivec.c Sat Jul 24 14:43:55 2010 +0000 @@ -778,8 +778,8 @@ void ff_yuv2packedX_altivec(SwsContext *c, - const int16_t *lumFilter, int16_t **lumSrc, int lumFilterSize, - const int16_t *chrFilter, int16_t **chrSrc, int chrFilterSize, + const int16_t *lumFilter, const int16_t **lumSrc, int lumFilterSize, + const int16_t *chrFilter, const int16_t **chrSrc, int chrFilterSize, uint8_t *dest, int dstW, int dstY) { int i,j;