- Timestamp:
- Jan 18, 2008, 3:04:13 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/pap_branch_080117/psLib/src/fits/psFitsHeader.c
r15630 r16141 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.38 $ $Name: not supported by cvs2svn $10 * @date $Date: 200 7-11-16 01:04:56$9 * @version $Revision: 1.38.2.1 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2008-01-19 01:04:13 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 112 112 PS_ASSERT_FITS_NON_NULL(fits, false); 113 113 114 if ( !fits->conventions.compression) {114 if (fits->options && !fits->options->conventions.compression) { 115 115 // User has turned off compression conventions; doesn't want any nasty surprises 116 116 return false; … … 220 220 221 221 bool compressed = false; // Is this a compressed image? 222 if (fits->conventions.compression && fits_is_compressed_image(fits->fd, &status)) { 222 if ((!fits->options || fits->options->conventions.compression) && 223 fits_is_compressed_image(fits->fd, &status)) { 223 224 compressed = true; 224 225 }
Note:
See TracChangeset
for help on using the changeset viewer.
