Changeset 7274 for trunk/psModules/src/camera/pmFPARead.c
- Timestamp:
- Jun 1, 2006, 12:43:26 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPARead.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPARead.c
r7204 r7274 33 33 psFree(regionString); 34 34 psFree(readout); 35 return NULL;35 return false; 36 36 } 37 37 psRegion region = psRegionSet(MAX(trimsec->x0 - readout->col0, 0), // x0 … … 59 59 psFree(regionString); 60 60 psFree(readout); 61 return NULL;61 return false; 62 62 } 63 63 psRegion region = psRegionSet(MAX(biassec->x0 - readout->col0, 0), // x0 … … 72 72 psFree(iter); 73 73 74 return readout;74 return true; 75 75 } 76 76 … … 326 326 327 327 pmReadout *readout = pmReadoutAlloc(cell); 328 readoutCarve(readout, image, trimsec, biassecs); 328 if (!readoutCarve(readout, image, trimsec, biassecs)) { 329 psError(PS_ERR_UNEXPECTED_NULL, false, "Unable to carve readout into image and bias sections.\n"); 330 return NULL; 331 } 329 332 readout->mask = NULL; 330 333 readout->weight = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.
