Author: abrander
Date: 2009-08-10 18:21:39 +0200 (Mon, 10 Aug 2009)
New Revision: 107

Modified:
   RawSpeed/RawDecoder.cpp
Log:
- Added mode to bail statements in RawDecoder::Decode12BitRaw() and 
RawDecoder::setMetaData().

Modified: RawSpeed/RawDecoder.cpp
===================================================================
--- RawSpeed/RawDecoder.cpp     2009-08-09 21:50:24 UTC (rev 106)
+++ RawSpeed/RawDecoder.cpp     2009-08-10 16:21:39 UTC (rev 107)
@@ -113,7 +113,7 @@
   Camera* cam = meta->getCamera(make, model, mode);
   if (!cam) {
     if (mode.length() == 0) 
-      printf("Unable to find camera in database: %s %s\n", make.c_str(), 
model.c_str());
+      printf("Unable to find camera in database: %s %s %s\n", make.c_str(), 
model.c_str(), mode.c_str());
     
     return;    // Assume true.
   }
@@ -128,7 +128,7 @@
   TrimSpaces(model);
   Camera *cam = meta->getCamera(make, model, mode);
   if (!cam) {
-    printf("Unable to find camera in database: %s %s\n", make.c_str(), 
model.c_str());
+    printf("Unable to find camera in database: %s %s %s\n", make.c_str(), 
model.c_str(), mode.c_str());
     return;
   }
   mRaw->subFrame(cam->cropPos, cam->cropSize);


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

Reply via email to