[FFmpeg-cvslog] r29189 - trunk/libswscale/rgb2rgb_template.c

michael subversion
Sun Apr 19 00:27:37 CEST 2009


Author: michael
Date: Sun Apr 19 00:27:36 2009
New Revision: 29189

Log:
Remove 2 useless += at the end of rgb16to15(), found by CSA.

Modified:
   trunk/libswscale/rgb2rgb_template.c

Modified: trunk/libswscale/rgb2rgb_template.c
==============================================================================
--- trunk/libswscale/rgb2rgb_template.c	Sat Apr 18 15:52:00 2009	(r29188)
+++ trunk/libswscale/rgb2rgb_template.c	Sun Apr 19 00:27:36 2009	(r29189)
@@ -323,8 +323,6 @@ static inline void RENAME(rgb16to15)(con
     {
         register uint16_t x= *((const uint16_t*)s);
         *((uint16_t *)d) = ((x>>1)&0x7FE0) | (x&0x001F);
-        s+=2;
-        d+=2;
     }
 }
 



More information about the ffmpeg-cvslog mailing list