Update of /cvsroot/ufraw/ufraw
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv18372

Modified Files:
        ufraw_ufraw.c 
Log Message:
Avoid 'Value ... too large, truncated to ...' with monochrome raw files.

Index: ufraw_ufraw.c
===================================================================
RCS file: /cvsroot/ufraw/ufraw/ufraw_ufraw.c,v
retrieving revision 1.279
retrieving revision 1.280
diff -u -d -r1.279 -r1.280
--- ufraw_ufraw.c       25 Aug 2014 11:30:17 -0000      1.279
+++ ufraw_ufraw.c       30 Aug 2014 03:30:37 -0000      1.280
@@ -1975,7 +1975,7 @@
          */
         if (uf->raw_color) {
             /* If there is no color matrix it is simple */
-            for (c = 0; c < 3; c++)
+            for (c = 0; c < uf->colors; c++)
                 chanMulArray[c] = raw->pre_mul[c] / rgbWB[c];
             ufnumber_array_set(chanMul, chanMulArray);
         } else {


------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
ufraw-cvs mailing list
ufraw-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ufraw-cvs

Reply via email to