Changeset 18517
- Timestamp:
- Jul 14, 2008, 2:46:53 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20080706/ppImage/src/ppImageParseCamera.c
r18430 r18517 30 30 if (inputMask->type != PM_FPA_FILE_MASK) { 31 31 psError(PS_ERR_IO, true, "PPIMAGE.INPUT.MASK is not of type MASK"); 32 return NULL;33 }34 // XXX need to load the mask bit names from one of the headers35 // this grabs the first available hdu : no guarantee that it will be valid, though36 pmHDU *hdu = pmHDUGetFirst (inputMask->fpa);37 if (!hdu) {38 psError(PS_ERR_IO, true, "no valid HDU for PPIMAGE.INPUT.MASK");39 return NULL;40 }41 if (!pmConfigMaskReadHeader (config, hdu->header)) {42 psError(PS_ERR_IO, false, "error in mask bits");43 32 return NULL; 44 33 }
Note:
See TracChangeset
for help on using the changeset viewer.
