Author: post
Date: 2010-07-01 22:04:20 +0200 (Thu, 01 Jul 2010)
New Revision: 245
Modified:
RawSpeed/DngDecoderSlices.cpp
Log:
Fix uninitialized thread count.
Modified: RawSpeed/DngDecoderSlices.cpp
===================================================================
--- RawSpeed/DngDecoderSlices.cpp 2010-06-26 06:20:08 UTC (rev 244)
+++ RawSpeed/DngDecoderSlices.cpp 2010-07-01 20:04:20 UTC (rev 245)
@@ -52,6 +52,7 @@
void DngDecoderSlices::startDecoding() {
// Create threads
+ nThreads = getThreadCount();
int slicesPerThread = ((int)slices.size() + nThreads - 1) / nThreads;
// decodedSlices = 0;
pthread_attr_t attr;
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit