IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 17009


Ignore:
Timestamp:
Mar 17, 2008, 11:56:10 AM (18 years ago)
Author:
Paul Price
Message:

Allow NULL readouts.

File:
1 edited

Legend:

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

    r16680 r17009  
    9696        pmReadout *readout = inputs->data[i]; // Readout of interest
    9797
    98         if (!readout || !readout->image) {
    99             psError(PS_ERR_UNEXPECTED_NULL, true, "Input readout %ld is NULL or has NULL image.\n", i);
     98        if (!readout) {
     99            continue;
     100        }
     101        if (!readout->image) {
     102            psError(PS_ERR_UNEXPECTED_NULL, true, "Input readout %ld has NULL image.\n", i);
    100103            return false;
    101104        }
Note: See TracChangeset for help on using the changeset viewer.