Index: trunk/pstamp/src/ppstampMakeStamp.c
===================================================================
--- trunk/pstamp/src/ppstampMakeStamp.c	(revision 28310)
+++ trunk/pstamp/src/ppstampMakeStamp.c	(revision 28882)
@@ -229,5 +229,5 @@
 
 static int makeStamp(pmConfig *config, ppstampOptions *options, pmFPAfile *input,
-                pmChip *inChip, pmFPAview *view, pmAstromObj *center)
+                pmChip *inChip, pmFPAview *view, pmAstromObj *center, pmFPAfile *astrom)
 {
     int status = false;
@@ -266,4 +266,9 @@
         srcFile = input;
         *srcView = *view;
+    }
+
+    if (astrom->camera != srcFile->camera) {
+        psError(PS_ERR_UNKNOWN, true, "Input camera and astrometry camera do not match");
+        return PS_EXIT_CONFIG_ERROR;
     }
 
@@ -583,7 +588,4 @@
     if (!astrom) {
         astrom = input;
-    } else if (astrom->camera != input->camera) {
-        psError(PS_ERR_UNKNOWN, true, "Input camera and astrometry camera do not match");
-        return PS_EXIT_CONFIG_ERROR;
     }
 
@@ -636,5 +638,5 @@
         case PPSTAMP_ON:
         case PPSTAMP_PARTIALLY_ON:
-            returnval = makeStamp(config, options, input, chip, view, center);
+            returnval = makeStamp(config, options, input, chip, view, center, astrom);
             allDone = true;
             foundOverlap = true;
