IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 23328 for trunk/psModules


Ignore:
Timestamp:
Mar 15, 2009, 10:55:03 AM (17 years ago)
Author:
eugene
Message:

catch error on file definition

File:
1 edited

Legend:

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

    r23275 r23328  
    10061006    PS_ASSERT_STRING_NON_EMPTY(filename, NULL);
    10071007
    1008     pmFPAfile *file = pmFPAfileDefineOutputForFormat(config, NULL, filename, src->cameraName,
    1009                                                      src->formatName);
     1008    pmFPAfile *file = pmFPAfileDefineOutputForFormat(config, NULL, filename, src->cameraName, src->formatName);
     1009    if (!file) {
     1010        psError(PS_ERR_UNEXPECTED_NULL, false, "file %s not defined\n", filename);
     1011        return NULL;
     1012    }
    10101013    file->src = psMemIncrRefCounter(src->fpa); // inherit output elements from this source pmFPA
    10111014    file->xBin = xBin;
Note: See TracChangeset for help on using the changeset viewer.