summaryrefslogtreecommitdiff
path: root/libswscale/rgb2rgb_template.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-04-18 22:27:36 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-04-18 22:27:36 +0000
commitb36da2c215257e439d824399c104af5805269424 (patch)
tree807ee8f2eb3a7860de06ff4f40f48084f5a2baa4 /libswscale/rgb2rgb_template.c
parenta256445ec3ef9213a94b3aa75eea786bdd2d3ace (diff)
Remove 2 useless += at the end of rgb16to15(), found by CSA.
Originally committed as revision 29189 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/rgb2rgb_template.c')
-rw-r--r--libswscale/rgb2rgb_template.c2
1 files changed, 0 insertions, 2 deletions
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;
}
}