]> git.sesse.net Git - ffmpeg/commitdiff
Remove 2 useless += at the end of rgb16to15(), found by CSA.
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 18 Apr 2009 22:27:36 +0000 (22:27 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 18 Apr 2009 22:27:36 +0000 (22:27 +0000)
Originally committed as revision 29189 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/rgb2rgb_template.c

index 09a57cab8186a680ba6be8500cf04fde37944ccf..56c94264307bb53ca9eb059703d5fcfd3f1fcefb 100644 (file)
@@ -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;
     }
 }