From 0d29f843f771ff2556e49d4503ecf5001886cae9 Mon Sep 17 00:00:00 2001 From: nick Date: Mon, 5 Nov 2001 08:37:27 +0000 Subject: [PATCH] More standards compilance git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2712 b3059339-0415-0410-9bf9-f77b7e298cf2 --- 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 166557e7ad..b873462e18 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