Add the patch.

This commit is contained in:
Jon Ciesla 2013-04-11 07:48:25 -05:00
parent 14777498a0
commit 782b17ccc4

View File

@ -0,0 +1,11 @@
--- internal/dcraw_common.cpp~ 2012-06-27 11:39:05.000000000 -0500
+++ internal/dcraw_common.cpp 2013-04-11 07:09:04.594518113 -0500
@@ -7277,7 +7277,7 @@
if (table[i].t_black) black = (ushort) table[i].t_black;
if (table[i].t_maximum) maximum = (ushort) table[i].t_maximum;
if (table[i].trans[0]) {
- for (j=0; j < 12; j++)
+ for (j=0; j < 3; j++)
#ifdef LIBRAW_LIBRARY_BUILD
imgdata.color.cam_xyz[0][j] =
#endif