Changeset 7288 for trunk/psModules/src/camera
- Timestamp:
- Jun 1, 2006, 4:48:50 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmHDUGenerate.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmHDUGenerate.c
r7278 r7288 213 213 pmReadout *readout = cell->readouts->data[0]; // The first readout, as representative 214 214 psImage *image = readout->image;// The proper image 215 215 if (!image) { 216 continue; 217 } 216 218 psFree(trimsec); // Drop old reference 217 219 trimsec = sectionForImage(&position, image, cellreaddir); // New reference … … 254 256 for (int i = 0; i < numReadouts; i++) { 255 257 pmReadout *readout = readouts->data[i]; // The readout 258 if (!readout || !readout->image) { 259 continue; 260 } 256 261 psElemType imageType = readout->image->type.type; // Type for this image 257 262 if (type == 0) { … … 309 314 for (int i = 0; i < readouts->n; i++) { 310 315 pmReadout *readout = readouts->data[i]; // The readout of interest 316 if (!readout) { 317 continue; 318 } 311 319 psImage *image = readout->image; // The image pixels 312 320 psImage *hduImage = hduImages->data[i]; // The HDU image of interest
Note:
See TracChangeset
for help on using the changeset viewer.
