Author: post
Date: 2009-08-27 20:44:33 +0200 (Thu, 27 Aug 2009)
New Revision: 123

Modified:
   RawSpeed/RawDecoder.cpp
Log:
- Fixed bug in 12 bit reader.

Modified: RawSpeed/RawDecoder.cpp
===================================================================
--- RawSpeed/RawDecoder.cpp     2009-08-27 06:29:27 UTC (rev 122)
+++ RawSpeed/RawDecoder.cpp     2009-08-27 18:44:33 UTC (rev 123)
@@ -102,7 +102,7 @@
       guint g2 = *in++;
       dest[x] = g1 | ((g2&0xf)<<8);
       guint g3 = *in++;
-      dest[x+1] = (g2>>2) | (g3<<4);
+      dest[x+1] = (g2>>4) | (g3<<4);
     }
   }
 }


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to