Changeset 23704 for branches/pap/ppSub/src/ppSub.c
- Timestamp:
- Apr 3, 2009, 11:58:24 AM (17 years ago)
- File:
-
- 1 edited
-
branches/pap/ppSub/src/ppSub.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap/ppSub/src/ppSub.c
r23242 r23704 49 49 } 50 50 51 if (!ppSubArgumentsSetup(argc, argv, config)) { 51 ppSubData *data = ppSubDataAlloc(); // Processing data 52 53 if (!ppSubArgumentsSetup(argc, argv, config, data)) { 52 54 psErrorStackPrint(stderr, "Error reading arguments.\n"); 53 55 exitValue = PS_EXIT_CONFIG_ERROR; … … 55 57 } 56 58 57 if (!ppSubCamera(config )) {59 if (!ppSubCamera(config, data)) { 58 60 psErrorStackPrint(stderr, "Error setting up camera.\n"); 59 61 exitValue = PS_EXIT_CONFIG_ERROR; … … 61 63 } 62 64 63 if (!ppSubArgumentsParse(config)) { 64 psErrorStackPrint(stderr, "Error reading arguments.\n"); 65 exitValue = PS_EXIT_CONFIG_ERROR; 66 goto die; 67 } 68 69 if (!ppSubLoop(config)) { 65 if (!ppSubLoop(config, data)) { 70 66 psErrorStackPrint(stderr, "Error performing subtraction.\n"); 71 67 exitValue = PS_EXIT_SYS_ERROR;
Note:
See TracChangeset
for help on using the changeset viewer.
