Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /rgb2rgb_template.c [1e352e] .. [d809ff] Maximize Restore

  Switch to side-by-side view

--- a/rgb2rgb_template.c
+++ b/rgb2rgb_template.c
@@ -1258,10 +1258,6 @@
 #endif
     while (s < end)
     {
-#if 0 //slightly slower on Athlon
-        int bgr= *s++;
-        *((uint32_t*)d)++ = ((bgr&0x1F)<<3) + ((bgr&0x3E0)<<6) + ((bgr&0x7C00)<<9);
-#else
         register uint16_t bgr;
         bgr = *s++;
 #if HAVE_BIGENDIAN
@@ -1274,8 +1270,6 @@
         *d++ = (bgr&0x3E0)>>2;
         *d++ = (bgr&0x7C00)>>7;
         *d++ = 255;
-#endif
-
 #endif
     }
 }