Author: post
Date: 2011-02-20 10:55:06 +0100 (Sun, 20 Feb 2011)
New Revision: 333
Modified:
RawSpeed/RawImage.cpp
Log:
Don't add horizontal pixel count twice.
Modified: RawSpeed/RawImage.cpp
===================================================================
--- RawSpeed/RawImage.cpp 2011-02-20 09:29:45 UTC (rev 332)
+++ RawSpeed/RawImage.cpp 2011-02-20 09:55:06 UTC (rev 333)
@@ -173,8 +173,8 @@
localhist[((x&1)<<16) + *pixel]++;
}
}
+ totalpixels += area.size * dim.y;
}
- totalpixels += area.size * dim.y;
}
if (!totalpixels) {
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit