This fixed the crash problem for me.
"bytes" containes the mory size in bytes for one pixel, but number of
colors is needed here.
Peter
Index: noisereduction.cpp
===================================================================
--- noisereduction.cpp (Revision 535100)
+++ noisereduction.cpp (Arbeitskopie)
@@ -253,7 +253,7 @@
dpix[1] = green2 + dl;
dpix[0] = blue2 + dl;
- for (v = 0 ; !m_cancel && (v < bytes) ; v++)
+ for (v = 0 ; !m_cancel && (v < 3) ; v++)
{
float value = spix[v];
float fvalue = dpix[v];
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel