]> granicus.if.org Git - libjpeg-turbo/commitdiff
Fix build whenever IDCT_SCALING_SUPPORTED is undefined
authorDRC <dcommander@users.sourceforge.net>
Tue, 14 Jul 2015 20:51:53 +0000 (20:51 +0000)
committerDRC <dcommander@users.sourceforge.net>
Tue, 14 Jul 2015 20:51:53 +0000 (20:51 +0000)
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

index 40e68f1f299f244eab2c5f6d061cf5b0076df258..6cc3310e3bd635b55c0f8d116f673f88b5f32f84 100644 (file)
@@ -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;