From 66df5eca03fd662b62b8a4a0cee541abbc6a4b54 Mon Sep 17 00:00:00 2001 From: DRC Date: Sun, 27 Feb 2011 09:48:48 +0000 Subject: [PATCH] Oops. cconvert is still needed for 12-bit samples git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.1.x@470 632fc199-4ca6-4c93-a231-07263d6284db --- jccolor.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jccolor.c b/jccolor.c index 7396990..b374c8b 100644 --- a/jccolor.c +++ b/jccolor.c @@ -3,7 +3,7 @@ * * Copyright (C) 1991-1996, Thomas G. Lane. * Copyright 2009 Pierre Ossman for Cendio AB - * Copyright 2009 D. R. Commander + * Copyright 2009-2011 D. R. Commander * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * @@ -259,6 +259,7 @@ rgb_gray_convert (j_compress_ptr cinfo, JDIMENSION output_row, int num_rows) { #if BITS_IN_JSAMPLE != 8 + my_cconvert_ptr cconvert = (my_cconvert_ptr) cinfo->cconvert; register INT32 * ctab = cconvert->rgb_ycc_tab; #endif register JSAMPROW inptr; -- 2.40.0