From: Michael Niedermayer Date: Sun, 30 Jun 2002 19:04:02 +0000 (+0000) Subject: fixing rgb24tobgr32 X-Git-Tag: v0.5~17566 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a1ce46cf529e0acd380a67661d6bc97a06e5809f;p=platform%2Fupstream%2Flibav.git fixing rgb24tobgr32 Originally committed as revision 6615 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc --- diff --git a/postproc/rgb2rgb.c b/postproc/rgb2rgb.c index 995f888..7ab86e1 100644 --- a/postproc/rgb2rgb.c +++ b/postproc/rgb2rgb.c @@ -446,8 +446,7 @@ void rgb32tobgr15(const uint8_t *src, uint8_t *dst, unsigned int src_size) void rgb24tobgr32(const uint8_t *src, uint8_t *dst, unsigned int src_size) { unsigned i; - unsigned num_pixels = src_size >> 2; - for(i=0; i