Changeset 22729 for trunk/psLib/src/fits/psFitsHeader.c
- Timestamp:
- Mar 2, 2009, 10:14:15 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/fits/psFitsHeader.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/fits/psFitsHeader.c
r22432 r22729 149 149 150 150 151 bool psFitsCheck SingleCompressedImagePHU(const psFits *fits, psMetadata *header)151 bool psFitsCheckCompressedImagePHU(const psFits *fits, psMetadata *header) 152 152 { 153 153 PS_ASSERT_FITS_NON_NULL(fits, false); … … 163 163 } 164 164 165 if (psFitsGetSize(fits) != 2) {166 // No second extension, or multiple extensions165 if (psFitsGetSize(fits) == 1) { 166 // No extension present 167 167 return false; 168 168 } … … 416 416 // Explore the potential case that this is an empty PHU, and the first extension contains the sole image, 417 417 // which is compressed. 418 if (psFitsCheck SingleCompressedImagePHU(fits, header)) {418 if (psFitsCheckCompressedImagePHU(fits, header)) { 419 419 // This is really what we want, not the empty PHU 420 420 psTrace("psLib.fits", 1,
Note:
See TracChangeset
for help on using the changeset viewer.
