From 6cce7cabdb2cd49f7182c8f74aac1e981d781c43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Sat, 24 Jul 2010 14:43:55 +0000 Subject: [PATCH] Fix compilation, forgot to add const also to the definition of ff_yuv2packedX_altivec Originally committed as revision 31782 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale --- libswscale/ppc/yuv2rgb_altivec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libswscale/ppc/yuv2rgb_altivec.c b/libswscale/ppc/yuv2rgb_altivec.c index aaea63dd13..bf605bc757 100644 --- a/libswscale/ppc/yuv2rgb_altivec.c +++ b/libswscale/ppc/yuv2rgb_altivec.c @@ -778,8 +778,8 @@ void ff_yuv2rgb_init_tables_altivec(SwsContext *c, const int inv_table[4], int b 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;