Correction for Issue 2776, 'Dcraw.cc does not respect the Illuminant tags in DNG files'

This commit is contained in:
Ingo
2015-05-21 13:25:21 +02:00
parent 7c0b8e6fe1
commit 9effb0a5ec
2 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
--- dcraw.c 2015-05-14 22:11:59 +0000
+++ dcraw.cc 2015-05-15 11:53:23 +0000
--- dcraw.c 2015-05-17 18:31:07 +0000
+++ dcraw.cc 2015-05-21 11:05:29 +0000
@@ -1,3 +1,15 @@
+/*RT*/#include <glib.h>
+/*RT*/#include <glib/gstdio.h>
@@ -1066,7 +1066,7 @@
{
unsigned entries, tag, type, len, plen=16, save;
- int ifd, use_cm=0, cfa, i, j, c, ima_len=0;
+ int ifd, use_cm=0, cfa, i, j, c, ima_len=0,cm_D65=1;
+ int ifd, use_cm=0, cfa, i, j, c, ima_len=0,cm_D65=0;
char software[64], *cbuf, *cp;
uchar cfa_pat[16], cfa_pc[] = { 0,1,2,3 }, tab[256];
- double cc[4][4], cm[4][3], cam_xyz[4][3], num;