Changeset 20639 for trunk/psModules/src/camera/pmFPAfileIO.c
- Timestamp:
- Nov 10, 2008, 2:04:47 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAfileIO.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAfileIO.c
r20400 r20639 783 783 psMetadata *camera = NULL; 784 784 psString formatName = NULL; 785 file->format = pmConfigCameraFormatFromHeader (&camera, &formatName, config, phu, true); 785 psString cameraName = NULL; 786 file->format = pmConfigCameraFormatFromHeader (&camera, &cameraName, &formatName, config, phu, true); 786 787 if (!file->format) { 787 788 psError(PS_ERR_IO, false, "Failed to read CCD format from %s\n", file->filename); … … 800 801 psFree(camera); 801 802 psFree(formatName); 803 psFree(cameraName); 802 804 803 805 // XXX this is really dangerous... … … 894 896 if (!file->format) { 895 897 // determine the format (camera is already known); do not load the recipe 896 file->format = pmConfigCameraFormatFromHeader (NULL, &file->formatName, config, phu, false);898 file->format = pmConfigCameraFormatFromHeader (NULL, NULL, &file->formatName, config, phu, false); 897 899 if (!file->format) { 898 900 psError(PS_ERR_IO, false, "Failed to read CCD format from %s\n", file->filename);
Note:
See TracChangeset
for help on using the changeset viewer.
