changeset 29148:e949de41d25a

Remove 2 useless += at the end of rgb16to15(), found by CSA.
author michael
date Sat, 18 Apr 2009 22:27:36 +0000
parents 0ee386008a40
children 8c3fbc5bf67d
files libswscale/rgb2rgb_template.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/rgb2rgb_template.c	Sat Apr 18 13:52:00 2009 +0000
+++ b/libswscale/rgb2rgb_template.c	Sat Apr 18 22:27:36 2009 +0000
@@ -323,8 +323,6 @@
     {
         register uint16_t x= *((const uint16_t*)s);
         *((uint16_t *)d) = ((x>>1)&0x7FE0) | (x&0x001F);
-        s+=2;
-        d+=2;
     }
 }