From abfb150159d1a11ab2d6f4df071a1f04837bb299 Mon Sep 17 00:00:00 2001 From: michael Date: Sat, 18 Apr 2009 22:27:36 +0000 Subject: Remove 2 useless += at the end of rgb16to15(), found by CSA. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29189 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libswscale/rgb2rgb_template.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libswscale/rgb2rgb_template.c') diff --git a/libswscale/rgb2rgb_template.c b/libswscale/rgb2rgb_template.c index 09a57cab81..56c9426430 100644 --- a/libswscale/rgb2rgb_template.c +++ b/libswscale/rgb2rgb_template.c @@ -323,8 +323,6 @@ static inline void RENAME(rgb16to15)(const uint8_t *src, uint8_t *dst, long src_ { register uint16_t x= *((const uint16_t*)s); *((uint16_t *)d) = ((x>>1)&0x7FE0) | (x&0x001F); - s+=2; - d+=2; } } -- cgit v1.2.3