Diff of /tiff.c [b22ddb] .. [d9bf04]  Maximize  Restore

Switch to side-by-side view

--- a/tiff.c
+++ b/tiff.c
@@ -1636,13 +1636,13 @@
     // Open TIFFs
 
     firstFile = panoTiffOpen(tiffFiles[0].name);
-    firstCropInfo = &firstFile->metadata.cropInfo;
-
 
     if (firstFile == NULL) {
         PrintError("Unable to read tiff file %s", tiffFiles[0].name);
         return FALSE;
     }
+
+    firstCropInfo = &firstFile->metadata.cropInfo;
 
     // Compare the metadata of the current file with each of the other ones
     for (currentImage = 1; currentImage < numberImages; currentImage++) {

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks