From 73676e57a1d6eedea25112743f6fd1ae15c0b768 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 27 Jul 2015 22:41:54 +0200 Subject: Gooseberry farm: Correction to previous commit Initial patch was done against imbuf with ftype refactor applied. --- source/blender/imbuf/intern/jp2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/imbuf/intern/jp2.c b/source/blender/imbuf/intern/jp2.c index e8dd8a8c200..e3a08d610fe 100644 --- a/source/blender/imbuf/intern/jp2.c +++ b/source/blender/imbuf/intern/jp2.c @@ -616,7 +616,7 @@ static opj_image_t *ibuftoimage(ImBuf *ibuf, opj_cparameters_t *parameters) cinema_parameters(parameters); } - color_space = (ibuf->foptions.flag & JP2_YCC) ? CLRSPC_SYCC : CLRSPC_SRGB; + color_space = (ibuf->ftype & JP2_YCC) ? CLRSPC_SYCC : CLRSPC_SRGB; prec = 12; numcomps = 3; } -- cgit v1.2.3