From a3deac158b24fb146ef551941e5f83ce646472ae Mon Sep 17 00:00:00 2001 From: DRC Date: Tue, 14 Jul 2015 20:51:53 +0000 Subject: [PATCH] Fix build whenever IDCT_SCALING_SUPPORTED is undefined git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1597 632fc199-4ca6-4c93-a231-07263d6284db --- jddctmgr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jddctmgr.c b/jddctmgr.c index 40e68f1..6cc3310 100644 --- a/jddctmgr.c +++ b/jddctmgr.c @@ -181,6 +181,7 @@ start_pass (j_decompress_ptr cinfo) break; } break; +#ifdef IDCT_SCALING_SUPPORTED case 9: method_ptr = jpeg_idct_9x9; method = JDCT_ISLOW; /* jidctint uses islow-style table */ @@ -218,6 +219,7 @@ start_pass (j_decompress_ptr cinfo) method_ptr = jpeg_idct_16x16; method = JDCT_ISLOW; /* jidctint uses islow-style table */ break; +#endif default: ERREXIT1(cinfo, JERR_BAD_DCTSIZE, compptr->_DCT_scaled_size); break; -- 2.40.0