- Timestamp:
- Nov 17, 2011, 10:33:52 AM (14 years ago)
- File:
-
- 1 edited
-
trunk/magic/remove/src/streaksio.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/magic/remove/src/streaksio.c
r32252 r32687 632 632 633 633 if (!isImage(in)) { 634 psLogMsg("streaksremove", PS_LOG_INFO, "%s contains no image\n", in->name); 634 635 return; 635 636 } … … 779 780 setupImageRefs(sFile *out, sFile *recoveryOut, sFile *in, int extnum, bool exciseAll) 780 781 { 782 if (!in->image) { 783 // Input file is likely corrupt. XXX: Shouldn't we have caught this earlier? 784 psError(PS_ERR_UNKNOWN, true, "image is null for extension %d of %s file is likely corrupt", extnum, in->name); 785 streaksExit("", PS_EXIT_UNKNOWN_ERROR); 786 } 781 787 if (!exciseAll) { 782 788 // set output image to be the input image
Note:
See TracChangeset
for help on using the changeset viewer.
