summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/jpgicc/jpgicc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/jpgicc/jpgicc.c b/utils/jpgicc/jpgicc.c
index e129a77..e756a73 100644
--- a/utils/jpgicc/jpgicc.c
+++ b/utils/jpgicc/jpgicc.c
@@ -981,7 +981,7 @@ int TransformImage(char *cDefInpProf, char *cOutProf)
if (!hIn)
FatalError("Input profile couldn't be read.");
- if (!hOut)
+ if (!lIsDeviceLink && !hOut)
FatalError("Output profile couldn't be read.");
// Assure both, input profile and input JPEG are on same colorspace