From 0d29f843f771ff2556e49d4503ecf5001886cae9 Mon Sep 17 00:00:00 2001 From: nick Date: Mon, 5 Nov 2001 08:37:27 +0000 Subject: More standards compilance git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2712 b3059339-0415-0410-9bf9-f77b7e298cf2 --- postproc/rgb2rgb_template.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'postproc/rgb2rgb_template.c') diff --git a/postproc/rgb2rgb_template.c b/postproc/rgb2rgb_template.c index 166557e7ad..b873462e18 100644 --- a/postproc/rgb2rgb_template.c +++ b/postproc/rgb2rgb_template.c @@ -186,9 +186,9 @@ void rgb15to16(const uint8_t *src,uint8_t *dst,uint32_t src_size) /** * Pallete is assumed to contain bgr32 */ -void palette8torgb32(uint8_t *src, uint8_t *dst, int num_pixels, uint8_t *palette) +void palette8torgb32(const uint8_t *src, uint8_t *dst, uint32_t num_pixels, const uint8_t *palette) { - int i; + uint32_t i; for(i=0; i