From 12e3287f034ab35e8b2bd12f6f90738f8b744252 Mon Sep 17 00:00:00 2001 From: Nick Kurshev Date: Mon, 5 Nov 2001 08:37:27 +0000 Subject: [PATCH] More standards compilance Originally committed as revision 2712 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc --- postproc/rgb2rgb.c | 28 ++++++++++++++-------------- postproc/rgb2rgb.h | 16 ++++++++-------- postproc/rgb2rgb_template.c | 28 ++++++++++++++-------------- 3 files changed, 36 insertions(+), 36 deletions(-) diff --git a/postproc/rgb2rgb.c b/postproc/rgb2rgb.c index 166557e7ad7..b873462e181 100644 --- a/postproc/rgb2rgb.c +++ b/postproc/rgb2rgb.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