From a680708d2d0e40c0061001dfa9b550dac0a9d329 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sun, 4 Nov 2007 12:34:46 +0000 Subject: [PATCH] The function names of [rgb|bgr]1[56]to[UV|Y] had rgb<->bgr flipped. Rename them to match the actual implementation. Fixes issue 162. Originally committed as revision 24965 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale --- libswscale/swscale_template.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libswscale/swscale_template.c b/libswscale/swscale_template.c index c90662f6b9..20fe46f4ee 100644 --- a/libswscale/swscale_template.c +++ b/libswscale/swscale_template.c @@ -2073,7 +2073,7 @@ static inline void RENAME(bgr24ToUV)(uint8_t *dstU, uint8_t *dstV, uint8_t *src1 assert(src1 == src2); } -static inline void RENAME(bgr16ToY)(uint8_t *dst, uint8_t *src, int width) +static inline void RENAME(rgb16ToY)(uint8_t *dst, uint8_t *src, int width) { int i; for (i=0; i