From 9780c7ffa3e6c70a3cb2d74463041e197530e711 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Mon, 9 Sep 2002 16:18:47 +0000 Subject: [PATCH] fixed palette8to{rgb24,bgr24,rgb32,bgr32} Originally committed as revision 7335 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc --- postproc/rgb2rgb.c | 40 ++++++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/postproc/rgb2rgb.c b/postproc/rgb2rgb.c index 4612f57399..fd50d73a9e 100644 --- a/postproc/rgb2rgb.c +++ b/postproc/rgb2rgb.c @@ -265,32 +265,36 @@ void rgb16to15(const uint8_t *src,uint8_t *dst,unsigned src_size) void palette8torgb32(const uint8_t *src, uint8_t *dst, unsigned num_pixels, const uint8_t *palette) { unsigned i; + +/* for(i=0; i