Scan optimization: return error when unable to copy data buffer

#166 describes an issue where I/O suspension is not properly handled in
scan optimization. Supporting I/O suspension may be difficult to
achieve here, thus return an error to make it explicit that I/O
suspension is unsupported.
This commit is contained in:
Frank Bossen
2015-04-02 17:45:01 -05:00
parent f8a5b80cb0
commit 619c20d5e8
2 changed files with 5 additions and 1 deletions

View File

@@ -127,6 +127,8 @@ JMESSAGE(JERR_UNSUPPORTED_FORMAT, "Unsupported output file format")
JMESSAGE(JERR_PNG_ERROR, "Unable to read PNG file: %s")
#endif
JMESSAGE(JERR_UNSUPPORTED_SUSPEND, "I/O suspension not supported in scan optimization")
#ifdef JMAKE_ENUM_LIST
JMSG_LASTADDONCODE