[Rawstudio-commit] rawspeed r409 - RawSpeed

Klaus Post klauspost at gmail.com
Mon Feb 27 21:27:24 CET 2012


Author: post
Date: 2012-02-27 21:27:24 +0100 (Mon, 27 Feb 2012)
New Revision: 409

Modified:
   RawSpeed/RawImage.cpp
Log:
Fix image initialization (thanks to Daniel Andersson)

Modified: RawSpeed/RawImage.cpp
===================================================================
--- RawSpeed/RawImage.cpp	2012-02-27 20:26:56 UTC (rev 408)
+++ RawSpeed/RawImage.cpp	2012-02-27 20:27:24 UTC (rev 409)
@@ -41,7 +41,7 @@
 RawImageData::RawImageData(iPoint2D _dim, uint32 _bpc, uint32 _cpp) :
     dim(_dim),
     blackLevel(-1), whitePoint(65536),
-    dataRefCount(0), data(0), cpp(cpp), bpp(_bpc),
+    dataRefCount(0), data(0), cpp(_cpp), bpp(_bpc),
     uncropped_dim(0, 0) {
   blackLevelSeparate[0] = blackLevelSeparate[1] = blackLevelSeparate[2] = blackLevelSeparate[3] = -1;
   subsampling.x = subsampling.y = 1;




More information about the Rawstudio-commit mailing list