Changeset 7843
- Timestamp:
- Jul 7, 2006, 2:37:48 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/pxframes.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pxframes.c
r6978 r7843 96 96 allFrames->n = 0; \ 97 97 \ 98 for (int i = 0; i < exposures->n; i++) { \98 for (int i = 0; i < psArrayLength(exposures); i++) { \ 99 99 exptype##Row *exposure = exposures->data[i]; \ 100 100 \ 101 psMetadata *where = psMetadataAlloc (); \101 psMetadata *where = psMetadataAlloc(); \ 102 102 psMetadataAddStr(where, PS_LIST_TAIL, "exp_id", PS_META_REPLACE, "==", \ 103 103 exposure->exp_id); \ … … 107 107 psFree(where); \ 108 108 if (!images) { \ 109 psError(PS_ERR_UNKNOWN, false, "no " #imfiletype " rows found"); \ 110 psFree(allFrames); \ 111 \ 112 return NULL; \ 109 psError(PS_ERR_UNKNOWN, false, "no " #imfiletype " rows found for exp_id %s", exposure->exp_id); \ 110 \ 111 continue; \ 113 112 } \ 114 113 \ 115 114 frametype *frame = frametype##Alloc(exposure, images); \ 116 115 psArrayAdd(allFrames, 100, frame); \ 116 } \ 117 \ 118 if (!psArrayLength(allFrames)) { \ 119 psFree(allFrames); \ 120 allFrames = NULL; \ 117 121 } \ 118 122 \
Note:
See TracChangeset
for help on using the changeset viewer.
