Author: post
Date: 2011-10-10 17:54:56 +0200 (Mon, 10 Oct 2011)
New Revision: 382

Modified:
   RawSpeed/DngDecoder.cpp
Log:
Disable DNG version check refusing to decode based on minor version.

Modified: RawSpeed/DngDecoder.cpp
===================================================================
--- RawSpeed/DngDecoder.cpp     2011-10-05 18:43:49 UTC (rev 381)
+++ RawSpeed/DngDecoder.cpp     2011-10-10 15:54:56 UTC (rev 382)
@@ -32,8 +32,8 @@
 
   if (v[0] != 1)
     ThrowRDE("Not a supported DNG image format: v%u.%u.%u.%u", (int)v[0], 
(int)v[1], (int)v[2], (int)v[3]);
-  if (v[1] > 3)
-    ThrowRDE("Not a supported DNG image format: v%u.%u.%u.%u", (int)v[0], 
(int)v[1], (int)v[2], (int)v[3]);
+//  if (v[1] > 4)
+//    ThrowRDE("Not a supported DNG image format: v%u.%u.%u.%u", (int)v[0], 
(int)v[1], (int)v[2], (int)v[3]);
 
   if ((v[0] <= 1) && (v[1] < 1))  // Prior to v1.1.xxx  fix LJPEG encoding bug
     mFixLjpeg = true;


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to