Author: post
Date: 2009-07-07 19:24:52 +0200 (Tue, 07 Jul 2009)
New Revision: 81

Modified:
   RawSpeed/ArwDecoder.cpp
Log:
- Fixed some Sony cameras becoming unsupported.

Modified: RawSpeed/ArwDecoder.cpp
===================================================================
--- RawSpeed/ArwDecoder.cpp     2009-07-06 20:46:35 UTC (rev 80)
+++ RawSpeed/ArwDecoder.cpp     2009-07-07 17:24:52 UTC (rev 81)
@@ -35,15 +35,13 @@
 
 RawImage ArwDecoder::decodeRaw()
 {
-  vector<TiffIFD*> data = mRootIFD->getIFDsWithTag(MODEL);
+  vector<TiffIFD*> data = mRootIFD->getIFDsWithTag(STRIPOFFSETS);
 
   data = mRootIFD->getIFDsWithTag(STRIPOFFSETS);
 
   if (data.empty())
     ThrowRDE("ARW Decoder: No image data found");
 
-  string model = data[0]->getEntry(MODEL)->getString();
-
   TiffIFD* raw = data[0];
   int compression = raw->getEntry(COMPRESSION)->getInt();
   if (32767 != compression)


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

Reply via email to