IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 6, 2006, 4:52:53 PM (20 years ago)
Author:
Paul Price
Message:

Adding check on source header.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPACopy.c

    r7825 r7833  
    264264    if (targetPHU && targetPHU != targetHDU && !targetPHU->header) {
    265265        pmHDU *sourcePHU = findBlankPHU(source); // The source PHU
    266         targetPHU->header = psMetadataCopy(targetPHU->header, sourcePHU->header);
     266        if (sourcePHU->header) {
     267            targetPHU->header = psMetadataCopy(targetPHU->header, sourcePHU->header);
     268        }
    267269    }
    268270
Note: See TracChangeset for help on using the changeset viewer.