diff options
author | Diego Biurrun <diego@biurrun.de> | 2009-05-09 10:56:37 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-05-09 10:56:37 +0000 |
commit | f1933e436ce5d3a7e78e7c35b01384dc72b00e46 (patch) | |
tree | 2f32e5efac86d878c2f2059f89baefaa319cc349 /libswscale/ppc/yuv2rgb_altivec.c | |
parent | 10ce919561f943f3e6f85b94c124227e204c6a96 (diff) | |
download | ffmpeg-f1933e436ce5d3a7e78e7c35b01384dc72b00e46.tar.gz |
Add missing const qualifiers to AltiVec function parameters where appropriate.
Fixes a couple of 'discards qualifiers from pointer target type' warnings.
Originally committed as revision 29281 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/ppc/yuv2rgb_altivec.c')
-rw-r--r-- | libswscale/ppc/yuv2rgb_altivec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/ppc/yuv2rgb_altivec.c b/libswscale/ppc/yuv2rgb_altivec.c index dc5894cda5..43879ea62d 100644 --- a/libswscale/ppc/yuv2rgb_altivec.c +++ b/libswscale/ppc/yuv2rgb_altivec.c @@ -787,8 +787,8 @@ void ff_yuv2rgb_init_tables_altivec(SwsContext *c, const int inv_table[4], int b void ff_yuv2packedX_altivec(SwsContext *c, - int16_t *lumFilter, int16_t **lumSrc, int lumFilterSize, - int16_t *chrFilter, int16_t **chrSrc, int chrFilterSize, + const int16_t *lumFilter, int16_t **lumSrc, int lumFilterSize, + const int16_t *chrFilter, int16_t **chrSrc, int chrFilterSize, uint8_t *dest, int dstW, int dstY) { int i,j; |