Fix compilation, forgot to add const also to the
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 24 Jul 2010 14:43:55 +0000 (14:43 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 24 Jul 2010 14:43:55 +0000 (14:43 +0000)
definition of ff_yuv2packedX_altivec

Originally committed as revision 31782 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/ppc/yuv2rgb_altivec.c

index aaea63d..bf605bc 100644 (file)
@@ -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;