diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-09-04 12:18:54 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-09-05 12:52:06 +0200 |
commit | 173216938390389c68af78518f3f521434cb66a9 (patch) | |
tree | 84e890a0ffc90dcebddeff8e0baa020c94a7097b /source/fitz/load-jpeg.c | |
parent | f825e989dc7e7e339ca525b52ea46d6ffacbacdf (diff) | |
download | mupdf-173216938390389c68af78518f3f521434cb66a9.tar.xz |
Use colorspace type enum instead of magic profile names.
Diffstat (limited to 'source/fitz/load-jpeg.c')
-rw-r--r-- | source/fitz/load-jpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/load-jpeg.c b/source/fitz/load-jpeg.c index 3db94a6b..ff4d8003 100644 --- a/source/fitz/load-jpeg.c +++ b/source/fitz/load-jpeg.c @@ -141,7 +141,7 @@ static fz_colorspace *extract_icc_profile(fz_context *ctx, jpeg_saved_marker_ptr fz_try(ctx) { buff = fz_new_buffer_from_copied_data(ctx, data, size); - cs = fz_new_icc_colorspace(ctx, NULL, 0, buff); + cs = fz_new_icc_colorspace(ctx, FZ_COLORSPACE_NONE, buff); } fz_always(ctx) fz_drop_buffer(ctx, buff); |