Changeset 26438 for trunk/magic/remove/src/streaksio.c
- Timestamp:
- Dec 16, 2009, 12:22:44 PM (16 years ago)
- Location:
- trunk/magic/remove
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/magic/remove
-
Property svn:ignore
set to
configure
Makefile.in
Doxyfile
config.log
depcomp
config.status
config.guess
ltmain.sh
config.sub
autom4te.cache
libtool
missing
Makefile
aclocal.m4
install-sh
-
Property svn:ignore
set to
-
trunk/magic/remove/src
- Property svn:ignore
-
old new 4 4 streakscompare 5 5 streaksrelease 6 makefile 6 Makefile 7 Makefile.in 8 config.h 9 .deps 10 streaksVersionDefinitions.h 11 config.h.in
-
- Property svn:ignore
-
trunk/magic/remove/src/streaksio.c
r26408 r26438 121 121 sf->transparentStreaks = psMetadataLookupF64(&status, config->arguments, "TRANSPARENT_STREAKS"); 122 122 123 sf->stats = psMetadataAlloc(); 124 psString statsFileName= psMetadataLookupStr(&status, config->arguments, "STATS"); 125 if (statsFileName) { 126 sf->statsFile = fopen(statsFileName, "w"); 127 if (!sf->statsFile) { 128 psError(PS_ERR_IO, true, "failed to open stats file %s", statsFileName); 129 streaksExit("", PS_EXIT_CONFIG_ERROR); 130 } 131 } 132 123 133 return sf; 124 134 } … … 128 138 { 129 139 freeImages(sf); 130 psFree(sf-> warpedPixels);140 psFree(sf->diffedPixels); 131 141 psFree(sf->tiles); 132 142 psFree(sf->view); … … 1181 1191 } 1182 1192 1193 // Get the mask values that we need. 1194 // If an input mask file is provided get them from there. 1195 // Otherwise get them from the recipe MASKS 1183 1196 void 1184 1197 strkGetMaskValues(streakFiles *sfiles)
Note:
See TracChangeset
for help on using the changeset viewer.
