From 08bbb31ffe5a9348a764ee00cf1b0486f921b379 Mon Sep 17 00:00:00 2001 From: Marti Maria Date: Mon, 17 Mar 2014 17:09:30 +0100 Subject: Fix jpgicc devicelink --- utils/jpgicc/jpgicc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1